RGB-LED and 2x Momentary Switches 01
This is a very simple program to make Arduino to read signals (on/off) from two momentary switches (it reads signals about every 250 milliseconds). The program then instruct Arduino to change the colour of RGB-LED according to predefined values of Red, Green and Blue.
rgbPattern is a custom function to change RGB value of RGB-LED. Try changing any of RGB values to see if you can find the colour you like.