Using teh serial port serout/serin

Pic8581

New Member
Hi

I am a little bit confused how to use the serial port for communication in a project.

Since the port is used for downloads of the program, will I always have to disconnect???

I have a LCD device that is controlled with serial communication, but should be "always on".

I will there just be garbage on the display while downloading?


Am I even supposed to have both connections in parallel?


Thanks for a heads up!
 

AllyCat

Senior Member
Hi,

For SEROUT you can use almost any pin (and a larger range of baud rates and signal polarity). See the command here.

If you need to transmit via the Programming Output pin, use the SERTXD commmand, normally with a suitable physical (hardware) switch to select the destination.

Cheers, Alan.
 
Top