i'm new user in arduino and i have low experience in programming, so i need help
i want to control Dc motor using single switch
when i press first time, motor turns clockwise
when i press again, motor stops
when i press third time, motor turns anti clockwise
when i press again, motor stops and so on.
Thanks in advance