button+2 leds + motor

liorgarin

New member
Joined
Jun 3, 2020
Messages
1
Programming Experience
Beginner
hi,
i need to make a button that connected to 2 lights and motor , at the begin, one light (light no1) will be ON and the second light (light2) one will be OFF, and when the button is pushed they switch betwen them(light 1-on->off and light 2-off->on) and after 1 second the motor start to work for 1 second ,while the motor is working "light 1" is also in ON mode .
after 30 second its restart and start from the begin(at the begin, one light (light no1) will be ON and the second light (light2) one will be OFF........)
i have arduino nano
how can i do this?
 
What have you considered? What have you tried so far?
 

Latest posts

Back
Top Bottom