Hi,

I have a master board with a 16f877 PIC that communicates with a slave board via the serout/serin commands. The slave board also has a 16f877 and basically just sits there waiting for a signal:

serin portd.1,T300,["BAC"],mydata

It waits for 'BAC' and then does something with the data that follows. This system works really well between my master/slave boards, and 300bps is more than enough for my purposes.

I would like to replace the master board with my PC parallel port for another project. Can I wire a data pin from my parallel port to the serin port (d.1) on my slave board? How would I simulate the correct bit rate, etc? Can I just bit-bang my data at 1/300th of a second per bit? I can't use any other pins on the slave pic, and can't use a serial port on the pc. Has anybody done this before? Any issues that I need to watch out for?

Thanks