[USB]
Description
Stops the keyboard emulation to a connected computer. To start keyboard emulation, use Keyboard.begin().
Syntax
Keyboard.end()
Parameters
none
Returns
nothing
Example
void setup() { //start keyboard communication Keyboard.begin(); //send a keystroke Keyboard.print("Hello!"); //end keyboard communication Keyboard.end(); } void loop() { //do nothing }
See also
- Keyboard.begin()
- Keyboard.press()
- Keyboard.print()
- Keyboard.println()
- Keyboard.release()
- Keyboard.releaseAll()
- Keyboard.write()
Language Reference Home
The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.