Very simple question, but i have difficulty to sort it out.
with one push ON button how i can program it (in C language) to turn ON and OFF a LED in single push.
First time Push -> LED = ON,
Second time Push -> LED = OFF,
Third time Push -> LED = ON,
4th time Push -> LED = OFF,
repeated....
Thanks....