I have been tasked with fixing an Aduino controled lighting effect for a stage producion. I Wont have acces to the actual prop and new board until tomorrow but i am hoping to get a head start on fixing the issue. I however have never worked with a Arduino anything so I am hoping someone can lend me a hand.
So step one the issue.
From what i have been told the people who regulearly handle the prop have determined that the board has failed after sucessfully working for a very long time. I belive the board is an UNO. A new board has allready been ordered and is on hand.
This new board needs to be programmed though and I have no idea how to do that. At first I was hopeing I could use the IDE appliactaion to simply copy the sketch from the failed board to the new one. But after some reserch it seems that is not nessacerly imposible but its way more complicated than I can attempt to get into as a fresh beginner.
So I am hoping that someone can help me write a sketch that i can fill in the pins on and upload to the new board tomorrow when i have access to it.
the effect is that a momentary switch is used to control 4 LED's. the first push turns LED 1 on, second push turns LED 2 on, third push turns LED 3 on, fourth push turns LED 4 on, fifth push turns All LED's off.
I am hoping that if someone can help me with this first itteration of the Sletch i can use it to temporarally fix the broken prop and than move onto make a better more funtionl effect.
Thanks in advance for any help