In SX Microcontrollers, SX/B Compiler and SX-Key Tool, capdiamont wrote: it seems to be working great, I didn't use the led output after all. This mainly interacting with the debug windows and the button anyhow. at 4_000_000 1 Min: DelayTemp0=25,341 DelayTemp1=41 0's for the rest at 400_000 2.5 Min: (I was a little slow and distracted) DelayTemp0=3,337 DelayTemp1=10 0's for the rest so each DelayTemp var is a word, so it would hold a max 0f 65535 plus 0 place so the 1st was 2,712,317 cycles through total and per min the second was 658,697 cycles through total and 263,478.8 cycles per min. 720 min in 12 hours: 1st for 12 hours would be 1,952,868,240 / 65536 = 29,798.859235523002975509269855802 so two word variables would do it? 2nd for 12 hours would be 189,704,736 / 65536 = 2,894.66455078125 I'm thinking this one is complete. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=273053#m273178 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)