944,144 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 4851
  • C RSS
Oct 13th, 2004
0

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

Expand Post »
...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..
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ooicheesan is offline Offline
1 posts
since Oct 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: pls.help me im begging you!!!
Next Thread in C Forum Timeline: How come my argc keeps giving me -1???





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC