ooicheesan 0 Newbie Poster

:( ...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..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.