How to send back the data "ok" to my Vb at comm 1

Status
Not open for further replies.

ooicheesan

Junior Member level 1
Joined
Sep 28, 2004
Messages
15
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
353
:lol: .....I am currently doing the serial communication between my hyperterminal and my PICDEM 2 PLUS board in mplab icd2,so just wonder how can i send the "ok" to my hyperterminal from my board?i tried this code
putrsUSART((rom char*)"ok"); or, if you for putrsUSART((rom char *)"ok\r");

ie. Send T
Recieve ok[T].

THen the problems with this code is it will resend back the character again..i just want it to send "ok" only so can you help... :roll:
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…