Author Topic: delay  (Read 1280 times)

0 Members and 1 Guest are viewing this topic.

Offline ed1380Topic starter

  • Supreme Robot
  • *****
  • Posts: 1,475
  • 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

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
1770 Views
Last post April 01, 2008, 12:05:01 AM
by michaelsane
11 Replies
2689 Views
Last post August 10, 2008, 05:38:07 AM
by ert481
6 Replies
1635 Views
Last post February 25, 2009, 10:31:26 AM
by Admin
1 Replies
771 Views
Last post July 09, 2009, 02:53:58 PM
by Luke


Get Your Ad Here

data_list