Add joystick example to WaveShare Open103R

This commit is contained in:
Joshua Harlan Lifton
2013-09-08 22:48:16 -07:00
committed by Piotr Esden-Tempski
parent d944c0cba6
commit b59c0a9e05
3 changed files with 185 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
------------------------------------------------------------------------------
README
------------------------------------------------------------------------------
This example uses the joystick to control the four LEDs on the
WaveShare Open103R eval board. Joystick directions referenced here are
relative to the text printed on the eval board. Pressing up will
cycle the LED to a lower numbered LED (e.g. LED4 -> LED3 and LED1 ->
LED4), pressing down will cycle the LED the other way, pressing left
will turn on all LEDs, pressing right will turn off all LEDs, and
pressing center will toggle between blinking and solid on.