From 0db906f175da33703df4c23de13c1a1e524782d6 Mon Sep 17 00:00:00 2001 From: Fede85 Date: Tue, 30 Apr 2013 17:55:34 +0200 Subject: [PATCH] changed the pin where to connect the button from 2 to 4 to be compliant with the comment in the header and the tutorial. Fixes #1396 --- .../09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino b/build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino index 35d06c6a3..39222fdaa 100644 --- a/build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino +++ b/build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino @@ -18,7 +18,7 @@ http://www.arduino.cc/en/Tutorial/KeyboardButton */ -const int buttonPin = 2; // input pin for pushbutton +const int buttonPin = 4; // input pin for pushbutton int previousButtonState = HIGH; // for checking the state of a pushButton int counter = 0; // button push counter