Keyboard.end()

Description

Stops the keyboard emulation to a connected computer. To start keyboard emulation, use Keyboard.begin().

Syntax

Keyboard.end()

Parameter Values

  • None

Return Values

  • Nothing

Example Code

#include <Keyboard.h> void setup() { //start keyboard communication Keyboard.begin(); //send a keystroke Keyboard.print("Hello!"); //end keyboard communication Keyboard.end(); } void loop() { //do nothing }

See Also

Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.