button,2 lights and motor+arduino

  • Thread starter Thread starter liorgarin
  • Start date Start date
L

liorgarin

Guest
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?

thanks

Continue reading...
 
Back
Top