thanks for the post unfortunately i have made little progress. I have set the flowpin using Serin2 and serout2 and i am using proper pins. my baud rate may have some issues I'm trying to use the slowest one for now. Currently the circuit does nothing, no flashing or anything, but i have verified with an oscilloscope that data is being sent. Hear is the new code.
send:
CLEAR
DEFINE OCS
TRISA = %000000000
LOOP1:
SEROUT2 PORTA.0\PORTA.1, 3313, [DEC 77]
GOTO LOOP1:
END
recive:
CLEAR
ANSEL = 0
CMCON0 = 7
X VAR BYTE
LOOP1:
SERIN2 GPIO.1\GPIO.3, 3313, [DEC X]
pause x
GPIO.0 = 1
PAUSE x
GPIO.0 = 0
PAUSE X
GOTO LOOP1
END
thanks again any help would be appreciated.
Bookmarks