LED question
Robbyjoeusn
Posts: 4
I'm building a rockem sockem robots kind of game, where the robots use pushbutton controlled servos to punch pushbuttons on the opposing chest. I was just curious if someone could help with code, I got most of it, but I was just curious for other ideas, specifically for 3 LEDS, red yellow green, to include a counter for 3 hits, that each hit would light all 3, but when 3 is reached, they would all light and flash.
I'm just not sure how to include the counter so if three hits on the PB happens, they'll all 3 flash along with the buzzer and the the display "hit" or "win" on the 2x16 LCD
any other suggestions would be appreciated, especially for wiring, since I have 2 servos, the lcd, the buzzer, 3 leds, and 4 pushbuttons
I'm just not sure how to include the counter so if three hits on the PB happens, they'll all 3 flash along with the buzzer and the the display "hit" or "win" on the 2x16 LCD
any other suggestions would be appreciated, especially for wiring, since I have 2 servos, the lcd, the buzzer, 3 leds, and 4 pushbuttons
Comments