Reference Language | Libraries | Comparison | Changes
Sends a keystroke to a connected computer.
Keyboard.print() must be called after initiating Keyboard.begin().
WARNING: When you use the Keyboard.print() command, the Arduino takes over your keyboard! Make sure you have control before you use the command. A pushbutton to toggle the keyboard control state is effective.
Keyboard.print(character)
Keyboard.print(characters)
character : a char or int to be sent to the computer as a keystroke characters : a string to be sent to the computer as a keystroke
int : number of bytes sent
Corrections, suggestions, and new documentation should be posted to the Forum.
The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.