User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C section within the Software Development category of DaniWeb, a massive community of 392,045 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,256 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C advertiser:
Views: 3324 | Replies: 0
Reply
Join Date: Oct 2004
Location: singapore
Posts: 1
Reputation: ooicheesan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
ooicheesan ooicheesan is offline Offline
Newbie Poster

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

  #1  
Oct 12th, 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..
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb C Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the C Forum

All times are GMT -4. The time now is 11:15 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC