In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PeteUK wrote: Thanks Sparks. For some reason I had made up my mind it was the difference between the two signals on and off and not the total time. It is in effect like a set and reset with the time being monitored between the first event happening again. So, if we see the first level change go low to high and then count the time till the same event happens again that is the equivalent. I will try the 'Bean' code and then the COUNT method and compare them, for education sake if nothing else....we never stop learning do we? Cheers again. PeteUK ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=201140#m201276 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)