The send code
The receive codeCode:DEFINE DEBUG_MODE 1 ' Debug sending INVERTED serial data DEFINE DEBUG_REG PORTB ' Debug Port = PortC DEFINE DEBUG_BIT 3 ' Debug.bit = PortC.4 DEFINE DEBUG_BAUD 2400 ' Default baud rate = 2400 DEBUG "9",DEC 3,$d,$a
I just ran this in real life, it works.Code:DEFINE DEBUGIN_MODE 1 ' Debug sending INVERTED serial data DEFINE DEBUGIN_REG PORTB ' Debug Port = PortC DEFINE DEBUGIN_BIT 4 ' Debug.bit = PortC.4 DEFINE DEBUGIN_BAUD 2400 ' Default baud rate = 2400 DEBUGIN [WAIT("9"),DEC NET]
Sorry for giving it wrong before.





Bookmarks