Thanks for the replies
I am using it in a simulator
when i use sleep, all i get is a square wave approx 2 hz from all outputs
the sleep command should just put the chip to sleep i thought
i am not sure how to turn the watch dog timer on and off
Norman
Bookmarks