Hello guys,
first of all: I am completely new to Arduino and programming.
My project is a shirt that is similar to this: http://web.media.mit.edu/~leah/LilyPad/build/turn_signal_jacket.html
(except I don't want to include that day/night mode.
I have a right switch connected to petal 6(+) and 7(-) while the left switch is connected to 5(+) and the battery's - petal.
I have sewn my first 10 LEDs to petal 13 and my other 21 LEDs to 11. The - petal is 12 for all of them.
I checked the LEDs with a simple blink code without the switches.
My problem is that I don't have any idea how to programm the code with the switches.
Any advice?