mirror of https://github.com/noisymime/Arduino.git
Changed Leonardo only examples to "USB", added
This commit is contained in:
parent
7e12aebbdb
commit
d6e9e03d13
|
@ -13,7 +13,7 @@
|
||||||
To wake: Spacebar.
|
To wake: Spacebar.
|
||||||
|
|
||||||
Circuit:
|
Circuit:
|
||||||
* Arduino Leonardo
|
* Arduino Leonardo or Micro
|
||||||
* wire to connect D2 to ground.
|
* wire to connect D2 to ground.
|
||||||
|
|
||||||
created 6 Mar 2012
|
created 6 Mar 2012
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
Keyboard Button test
|
Keyboard Button test
|
||||||
|
|
||||||
|
For the Arduino Leonardo and Micro.
|
||||||
|
|
||||||
Sends a text string when a button is pressed.
|
Sends a text string when a button is pressed.
|
||||||
|
|
||||||
The circuit:
|
The circuit:
|
|
@ -11,7 +11,7 @@
|
||||||
a final key combination (CTRL-U).
|
a final key combination (CTRL-U).
|
||||||
|
|
||||||
Circuit:
|
Circuit:
|
||||||
* Arduino Leonardo
|
* Arduino Leonardo or Micro
|
||||||
* wire to connect D2 to ground.
|
* wire to connect D2 to ground.
|
||||||
|
|
||||||
created 5 Mar 2012
|
created 5 Mar 2012
|
|
@ -1,6 +1,8 @@
|
||||||
/*
|
/*
|
||||||
Keyboard test
|
Keyboard test
|
||||||
|
|
||||||
|
For the Arduino Leonardo or Micro
|
||||||
|
|
||||||
Reads a byte from the serial port, sends a keystroke back.
|
Reads a byte from the serial port, sends a keystroke back.
|
||||||
The sent keystroke is one higher than what's received, e.g.
|
The sent keystroke is one higher than what's received, e.g.
|
||||||
if you send a, you get b, send A you get B, and so forth.
|
if you send a, you get b, send A you get B, and so forth.
|
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
KeyboardAndMouseControl
|
KeyboardAndMouseControl
|
||||||
|
|
||||||
Controls the mouse from five pushbuttons on an Arduino Leonardo.
|
Controls the mouse from five pushbuttons on an Arduino Leonardo or Micro.
|
||||||
|
|
||||||
Hardware:
|
Hardware:
|
||||||
* 5 pushbuttons attached to D2, D3, D4, D5, D6
|
* 5 pushbuttons attached to D2, D3, D4, D5, D6
|
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
ButtonMouseControl
|
ButtonMouseControl
|
||||||
|
|
||||||
Controls the mouse from five pushbuttons on an Arduino Leonardo.
|
Controls the mouse from five pushbuttons on an Arduino Leonardo or Micro.
|
||||||
|
|
||||||
Hardware:
|
Hardware:
|
||||||
* 5 pushbuttons attached to D2, D3, D4, D5, D6
|
* 5 pushbuttons attached to D2, D3, D4, D5, D6
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
JoystickMouseControl
|
JoystickMouseControl
|
||||||
|
|
||||||
Controls the mouse from a joystick on an Arduino Leonardo.
|
Controls the mouse from a joystick on an Arduino Leonardo or Micro.
|
||||||
Uses a pushbutton to turn on and off mouse control, and
|
Uses a pushbutton to turn on and off mouse control, and
|
||||||
a second pushbutton to click the left mouse button
|
a second pushbutton to click the left mouse button
|
||||||
|
|
Loading…
Reference in New Issue