Skip to content

Commit a163f9e

Browse files
committed
Added keywords for new libraries, rearranged and modified Due and USB examples
Renamed Leonardo Only examples folder to USB. Modified keyboard and Mouse examples to indicate Due compatibility. Minor modifications to Due examples to conform with existing example sketches. Added keywords to for Audio, Scheduer, and USBHost libraries.
1 parent b9b4be8 commit a163f9e

File tree

7 files changed

+14
-97
lines changed

7 files changed

+14
-97
lines changed

examples/09.USB(Leonardo)/Keyboard/KeyboardLogout/KeyboardLogout.ino

Lines changed: 0 additions & 95 deletions
This file was deleted.

examples/09.USB(Leonardo)/Keyboard/KeyboardMessage/KeyboardMessage.ino renamed to examples/09.USB/Keyboard/KeyboardMessage/KeyboardMessage.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/*
22
Keyboard Button test
3+
4+
For Leonardo and Due boards only.
35
46
Sends a text string when a button is pressed.
57

examples/09.USB(Leonardo)/Keyboard/KeyboardReprogram/KeyboardReprogram.ino renamed to examples/09.USB/Keyboard/KeyboardReprogram/KeyboardReprogram.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
44
This sketch demonstrates the Keyboard library.
55
6+
For Leonardo and Due boards only.
7+
68
When you connect pin 2 to ground, it creates a new
79
window with a key combination (CTRL-N),
810
then types in the Blink sketch, then auto-formats the text

examples/09.USB(Leonardo)/Keyboard/KeyboardSerial/KeyboardSerial.ino renamed to examples/09.USB/Keyboard/KeyboardSerial/KeyboardSerial.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
Keyboard test
33
4+
For Leonardo and Due boards only
5+
46
Reads a byte from the serial port, sends a keystroke back.
57
The sent keystroke is one higher than what's received, e.g.
68
if you send a, you get b, send A you get B, and so forth.

examples/09.USB(Leonardo)/KeyboardAndMouseControl/KeyboardAndMouseControl.ino renamed to examples/09.USB/KeyboardAndMouseControl/KeyboardAndMouseControl.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

22
/*
33
KeyboardAndMouseControl
4+
5+
For Leonardo and Due boards only.
46
57
Controls the mouse from five pushbuttons on an Arduino Leonardo.
68

examples/09.USB(Leonardo)/Mouse/ButtonMouseControl/ButtonMouseControl.ino renamed to examples/09.USB/Mouse/ButtonMouseControl/ButtonMouseControl.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

22
/*
33
ButtonMouseControl
4+
5+
For Leonardo and Due boards only.
46
5-
Controls the mouse from five pushbuttons on an Arduino Leonardo.
7+
Controls the mouse from five pushbuttons on an Arduino Leonardo or Due.
68
79
Hardware:
810
* 5 pushbuttons attached to D2, D3, D4, D5, D6

examples/09.USB(Leonardo)/Mouse/JoystickMouseControl/JoystickMouseControl.ino renamed to examples/09.USB/Mouse/JoystickMouseControl/JoystickMouseControl.ino

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
/*
22
JoystickMouseControl
33
4-
Controls the mouse from a joystick on an Arduino Leonardo.
4+
For Leonardo and Due boards only.
5+
6+
Controls the mouse from a joystick on an Arduino Leonardo or Due.
57
Uses a pushbutton to turn on and off mouse control, and
68
a second pushbutton to click the left mouse button
79

0 commit comments

Comments
 (0)