In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Rsadeika wrote: The program that I have above works as shown. What I am trying to do is run the program at a new device freq of 50Mhz, the program does not work as expected. My reasoning is that the IR detector is not time critical, so changing the device freq should not have any affect. So, when I changed the freq to 50Mhz the program did not respond as expected. Since the program did not work, I have to consider Bean's suggestion, that it is time critical. Now I am trying to do some backwards math, using the 104 cycles to see if I can come up with a new number to plug in. I am using the formula that is shown in the SX/B help file. If I ever figure this out I may have to do a spread sheet, so all I have to do is plug in values and get the answer. Thanks Ray ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=115967#m116013 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)