Skip to content

Commit b79ee02

Browse files
committed
Updated KeyboardMessage example
1 parent b332904 commit b79ee02

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,23 @@
11
/*
2-
Keyboard Button test
2+
Keyboard Message test
33
44
For the Arduino Leonardo and Micro.
55
66
Sends a text string when a button is pressed.
77
88
The circuit:
9-
* pushbutton attached from pin 2 to +5V
9+
* pushbutton attached from pin 4 to +5V
1010
* 10-kilohm resistor attached from pin 4 to ground
1111
1212
created 24 Oct 2011
1313
modified 27 Mar 2012
1414
by Tom Igoe
15+
modified 11 Nov 2013
16+
by Scott Fitzgerald
1517
1618
This example code is in the public domain.
1719
18-
http://www.arduino.cc/en/Tutorial/KeyboardButton
20+
http://www.arduino.cc/en/Tutorial/KeyboardMessage
1921
*/
2022

2123
const int buttonPin = 4; // input pin for pushbutton

0 commit comments

Comments
 (0)