In SX Microcontrollers, SX/B Compiler and SX-Key Tool, natpie wrote: Okay I've had some time to clean things up, and the PIN direction change at watchdog reset no longer seems to be causing my flip flip to reset during reboot. After playing with SX/B I caught on to the idea of setting the bit before changing it to output as is done with the HIGH and LOW commands. SX/B was also burning me as I didn't realize the INPUT and OUTPUT commands rely on $FA $FB $FC, etc. to change the bit. My initialization code was erasing all ram and fowling up pin direction registers. Now does the watchdog reset have any other tricky things waiting to mess me up or are the all pins to input and 15.5MS reboot time the only unusual events I will need to watch out for? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=321196#m323097 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)