Sparkfun Analog Joystick Test Program
Dependencies: 4DGL-uLCD-SE SparkfunAnalogJoystick mbed
Fork of Lab4 by
Diff: main.cpp
- Revision:
- 1:9d61fc8d0615
- Parent:
- 0:634ccd908259
- Child:
- 2:b5e0e6138548
--- a/main.cpp Sat Mar 07 23:28:51 2015 +0000 +++ b/main.cpp Sun Mar 08 05:44:22 2015 +0000 @@ -7,6 +7,10 @@ SparkfunAnalogJoystick joysttick(p18, p19, p20); uLCD_4DGL lcd(p13, p14, p15); +// Test program for the library +// It would output all data about the joystick +// It would also draw a compass to indicate the joystick status on the LCD display + int main() { lcd.baudrate(3000000); lcd.background_color(0);