May I know what does T2400 represent?
My guess is baud rate...If T2400 represent baud rate, then how about the baud rate that i defined on the top?
May I know what does T2400 represent?
My guess is baud rate...If T2400 represent baud rate, then how about the baud rate that i defined on the top?
Like I said, the example I gave is an alternative to using the hardware ports. Most start off using the alternative... less setup and things to understand at the beginning.
The "T" makes the signal TRUE, the signal that is produced from the hardware ports is TRUE. When talking between to PICs the signal type does not matter as long as both PICs are using the same signal type. When connecting to a PC an INVERTED signal is needed, if using a bit banging routine it would be N2400 or whatever baud rate the PC is set for. When using the hardware ports an inverter chip such as a RS232 will be needed if you want to communicate with a PC.
In response to your PM. When using SERIN/SEROUT you can use most any of the pins on a PIC. That is why I have PORTC.4 in my example to show that.
Dave
Always wear safety glasses while programming.
Bookmarks