Skip to content

Commit 6160cff

Browse files
committed
Indicate that this ArcadeStickExample is for the Arduino Pro Micro only
1 parent e7e04b6 commit 6160cff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The following example Arduino sketch files are included in this library:
3636
- `DrivingControllerTest` - Creates a Driving Controller and tests 4 buttons, the Steering, Brake, and Accelerator when pin A0 is grounded.
3737
- `FlightControllerTest` - Creates a Flight Controller and tests 32 buttons, the X and Y axis, the Throttle, and the Rudder when pin A0 is grounded.
3838
- `HatSwitchTest` - Creates a joystick with two hat switches. Grounding pins 4 - 11 cause the hat switches to change position.
39-
- `ArcadeStickExample` - Simple arcade stick example that demonstrates how to read twelve Arduino digital pins and map them to the library (thanks to [@nebhead](https://github.com/nebhead) for this example).
39+
- `ArcadeStickExample` - Simple arcade stick example that demonstrates how to read twelve Arduino Pro Micro digital pins and map them to the library (thanks to [@nebhead](https://github.com/nebhead) for this example). NOTE: This sketch is for the Arduino Pro Micro only.
4040

4141
### Simple example
4242

examples/ArcadeStickExample/ArcadeStickExample.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
// Simple arcade stick example that demonstrates how to read twelve Arduino
2-
// digital pins and map them to the Arduino Joystick library.
1+
// Simple arcade stick example that demonstrates how to read twelve
2+
// Arduino Pro Micro digital pins and map them to the
3+
// Arduino Joystick library.
34
//
45

56
// The digital pins 2 - 20 are grounded when they are pressed.
@@ -23,8 +24,7 @@
2324
// Pin 18, A0 = Other Button
2425
// Pin 21, A3 = Other Button
2526

26-
// NOTE: This sketch file is for use with Arduino Leonardo and
27-
// Arduino Micro only.
27+
// NOTE: This sketch file is for use with Arduino Pro Micro only.
2828
//
2929
// Original gamepad example by Matthew Heironimus
3030
// 2016-11-24

0 commit comments

Comments
 (0)