Skip to content

Commit d78e33f

Browse files
authored
Update KeyboardSerial.md
Correcting an errant NB: statement that incorrectly warns of taking over your host's keyboard - this is incorrect. A second HID Keyboard device is registered with the host computer, and both will work
1 parent fa0d46f commit d78e33f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/built-in-examples/09.usb/KeyboardSerial/KeyboardSerial.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313

1414
This example listens for a byte coming from the serial port. When received, the board sends a keystroke back to the computer. The sent keystroke is one higher than what is received, so if you send an "a" from the serial monitor, you'll receive a "b" from the board connected to the computer. A "1" will return a "2" and so on.
1515

16-
**NB: When you use the Keyboard.print() command, the Leonardo, Micro or Due board takes over your computer's keyboard! To insure you don't lose control of your computer while running a sketch with this function, make sure to set up a reliable control system before you call Keyboard.print(). This sketch is designed to only send a Keyboard command after the board has received a byte over the serial port.**
16+
**NB: Your Leonardo, Micro or Due board will initiate a second keyboard device on your host computer, it will not take over your existing keyboard. Both your original host keyboard and the 'send a keystroke' keyboard will be active and will work. This sketch is designed to only send a Keyboard command after the board has received a byte over the serial port.**
1717

1818
### Hardware Required
1919

@@ -97,4 +97,4 @@ You can find more basic tutorials in the [built-in examples](/built-in-examples)
9797

9898
You can also explore the [language reference](https://www.arduino.cc/reference/en/), a detailed collection of the Arduino programming language.
9999

100-
*Last revision 2015/08/11 by SM*
100+
*Last revision 2015/08/11 by SM*

0 commit comments

Comments
 (0)