In SX Microcontrollers, SX/B Compiler and SX-Key Tool, PJMonty wrote: Dustdemon, You say that you can't get the SX to receive the pulse - what is generating the pulse? Is the signal a solid 0 or +5 volts? Have you used the debugger to verify that your hardware and software is all working like you think it is? You can set a breakpoint on the first actual code line after the "CHKIN" label and then manually trigger a pulse to verify if the SX is "seeing" the input pulse. The key to debugging is to start working at the problem a little bit at a time. Physically verify that each of the little steps you think is working is actually working. As you verify each thing, you can eliminate it from the list of ptential problems. Wherever possible, remove code and/or hardware from the thing you're trying to debug to eliminate possible problems. For example, you could use a resistor going to +5V and a switch connected to ground to create a way of manually injecting a "pulse". You could then verify that the code is doing the right thing using the debugger. If that works, and the real pulse source doesn't, then you need to figure out what aspect of the pulse source is cusing the problem. [list]Thanks, PeterM[/list] ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=76681#m76850 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2005 (http://www.dotNetBB.com)