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



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


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

Help us make it better

Welcome to the new documentation system of Seeed Studio. We have made a lot of progress comparing to the old wiki system and will continue to improve it to make it more user friendly and helpful. The improvement can't be done without your kindly feedback. If you have any suggestions or findings, you are most welcome to submit the amended version as our contributor via Github or give us suggestions in the survey below, it would be more appreciated if you could leave your email so that we can reply to you. Happy Hacking!