go_away

Author Topic: delay  (Read 1529 times)

0 Members and 1 Guest are viewing this topic.

Offline ed1380Topic starter

  • Supreme Robot
  • *****
  • Posts: 1,478
  • Helpful? 3
delay
« 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?
Problems making the $50 robot circuit board?
click here. http://www.societyofrobots.com/robotforum/index.php?topic=3292.msg25198#msg25198

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: delay
« Reply #1 on: April 19, 2008, 06:28:55 AM »
Make a delay for one minute and repeat that 5 times and then 3 times.
Check out the uBotino robot controller!

Offline benji

  • Supreme Robot
  • *****
  • Posts: 832
  • Helpful? 0
Re: delay
« Reply #2 on: April 19, 2008, 07:37:57 AM »
Code: [Select]
for( i=0;  i<300  ; i++)
             {delay_ms(1000);}           
good ol' BeNNy

 


Get Your Ad Here