In SX Microcontrollers, SX/B Compiler and SX-Key Tool, natpie wrote: Thanks for the help every one. It looks like the all pins to input on watchdog timeout is what was killing me here. I've modified my code to set my pin directions immediately at boot, then determine if it is a warm or cold boot. Things seem to be working as expected now. I am however noticing a 15.5ms period presumably at boot where I'm still not reading the correct values on the outputs. I assume this is normal for a Watchdog restart? Is there something to be done about this. It's not a problem in my code as I run count for 1 second guaranteeing at least 1 second before my serout code is run. Even if this blip is detected as a start bit I'll be well past it before my real serial is transmitted. Had I planed on sending some asynchronous serial right at boot I could see this potently interfering. As I said not a problem for my current project but I'm curious for future reference. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=321196#m321419 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2009 (http://www.dotNetBB.com)