Hi,
Well, according to your code you are sending at 2400baud and recieving at 1200. That will not work....
Also, on your reciever, you are telling SERIN to recieve one byte (DAdos). If you are sending three bytes you need to tell SERIN to recieve 3 bytes.
You can also try:Code:DAdos var byte Temp1 var byte Temp2 var byte SERIN SER_IN, T1200, DAdos, Temp1, Temp2 SEROUT SER_OUT, T1200, DAdos, Temp1, Temp2, 10, 13 '....and so on
Perhaps that will help.Code:DEFINE CHAR_PACING 1000 'Serout character pacing in us
/Henrik Olsson.




Bookmarks