954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

"Sending "ok" to hyperterminal from PIC board...

:( ...hello there..currently i am doing the serial communication between my Vb at comm 1 with my PICDEM 2 PLUS BOARD..so i manage to send my data to the board to light up the LED but the data i send back by the board to VB that is "ok" to acknowledge that the data is recieved got error..when is send using this code
putrsUSART((rom char*)"ok"); or, for a return, putrsUSART((rom char *)"ok\r");

this code enable me to send the "ok" back but then it will send back the character i type too for example:

ie. Send T
Recieve ok[T].

But the problems is that i need to send just "ok" and not "ok"[00]..to my Vb,so can someone guide me on this?thanks..

ooicheesan
Newbie Poster
1 post since Oct 2004
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You