
Originally Posted by
brid0030
I have to revise what I said above. It is not the pause that causes serial communication to fail but the toggling of PORTA.2. When I comment out the HIGH REC and LOW REC stuff the serial comm works. I'm still in the dark as to what is going on tho. Why should toggling a pin on another port affect serial communication? I've also got problems getting the input on PORTC.1 to work. I've got a pull-up tied to the port and a switch connecting to ground. The pin reads high on my volt-meter but the program runs as though it is always low. Craziness abides.
Bookmarks