edit

Joystick Control RGB Led

You can use Joystick in some control occasion, such as control a toy car.

This demo will show you how to use joystick, and we need a Rgb Led else, when joystick in different location, Rgb Led will show different color.

Hardware Required:

  • Arduino

  • Joystick

  • RGB LED

Circuit:

Joystick connect to A0, A1, RGB LED connect to D3, D9 and D10.

Code:

Open Arduino IDE, click File -> Sketchbook -> joystick.

Tech Support

Please do not hesitate to contact techsupport@seeed.cc if you have any technical issue. Or submit the issue into our forum.