Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: ed1380 on April 18, 2008, 07:43:01 PM
-
i need to make a program for the atmega 8 to turn something on for 5 minutes and then turn it off for 3 minutes. and repeat. i know how to do the code, but is a 5 minute delay possible with?
-
Make a delay for one minute and repeat that 5 times and then 3 times.
-
for( i=0; i<300 ; i++)
{delay_ms(1000);}