mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
Merge branch 'master' into ide-1.5.x
Conflicts: build/shared/examples/02.Digital/BlinkWithoutDelay/BlinkWithoutDelay.ino build/shared/examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino libraries/LiquidCrystal/examples/CustomCharacter/CustomCharacter.ino libraries/SD/examples/listfiles/listfiles.ino
This commit is contained in:
@ -1,22 +1,23 @@
|
||||
/*
|
||||
Keyboard Button test
|
||||
|
||||
For the Arduino Leonardo, Micro and Due boards.
|
||||
|
||||
/*
|
||||
Keyboard Message test
|
||||
|
||||
For the Arduino Leonardo and Micro.
|
||||
|
||||
Sends a text string when a button is pressed.
|
||||
|
||||
The circuit:
|
||||
* pushbutton attached from pin 2 to +5V on AVR boards
|
||||
and to +3.3V to the Arduino Due
|
||||
* 10-kilohm resistor attached from pin 2 to ground
|
||||
|
||||
* pushbutton attached from pin 4 to +5V
|
||||
* 10-kilohm resistor attached from pin 4 to ground
|
||||
|
||||
created 24 Oct 2011
|
||||
modified 27 Mar 2012
|
||||
by Tom Igoe
|
||||
|
||||
modified 11 Nov 2013
|
||||
by Scott Fitzgerald
|
||||
|
||||
This example code is in the public domain.
|
||||
|
||||
http://www.arduino.cc/en/Tutorial/KeyboardButton
|
||||
|
||||
http://www.arduino.cc/en/Tutorial/KeyboardMessage
|
||||
*/
|
||||
|
||||
const int buttonPin = 4; // input pin for pushbutton
|
||||
|
Reference in New Issue
Block a user