Update your browser to view this website correctly. Update my browser now
This in an Arduino run slot machine using RGB LED output.
Not quite a finished project.
I used some code I found in (RGB LED Tutorial (using an Arduino) (RGBL) by oomlout) on Instructables.com (See link below), added it to my own and made changes to fit this project. I'm using Common Cathode RGB LEDs so the code had to be changed and, of course, I'm using different pins for my LEDs. I changed his main program area into a Function and added the spin button. It works quite well and I used an odd number in the for loop.
Press the button to spin!
I've added a blinking LED(White) on my prototype (no white in this program), with a 220ohm resistor it is a nice bright flash.