I would add ...
What if you replace the Relays by LEDs + 220 ohms resistors ???
I do hope relays are equipped with their freewheel diode ... and NOT powered from the Pic 5v supply ...
Alain
PS : as the program runs fine aboard my EasyPic5 with leds as outputs ... we could reasonnably suppose it's a HARDWARE issue ...
Last edited by Acetronics2; - 27th January 2011 at 14:19.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bookmarks