Hello Ioannis,
Thanks for the reply....
Here is the whole codeCan you help me send the hex values in the proper format?Code:Include "modedefs.bas" CLEAR TRISC = %10000000'set TX (PORTC.6) to out, rest in TRISB = %00000000 PortB = %00000000 pause 20 SerOut PortC.6,T9600, ["0x02 0x52 0x04 0x0b 00 0x61 0x0A 0x4D 0x6f 0x62 0x6f 0x74 0x20 0x49 0x49 0x49 00 0x03"] pause 10 SerOut PortC.6,T9600,["0x02 0x52 0x66 00 00 0xb8 0x03"] pause 10 Serout PortC.6,T9600, ["0x02 0x52 0x04 0x0b 00 0x61 0x0A 0x4D 0x6f 0x62 0x6f 0x74 0x20 0x49 0x49 0x49 00 0x03"]
regards,
mbox
Bookmarks