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

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2004
Posts: 1
Reputation: ooicheesan is an unknown quantity at this point 
Solved Threads: 0
ooicheesan ooicheesan is offline Offline
Newbie Poster

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

 
0
  #1
Oct 13th, 2004
...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..
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum


Views: 4397 | Replies: 0
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC