| | |
"Sending "ok" to hyperterminal from PIC board...
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2004
Posts: 1
Reputation:
Solved Threads: 0
...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
- Sending "char" to "int" variable (C)
- Php Help needed (PHP)
- Help with automatic update problem and more (Viruses, Spyware and other Nasties)
- sending mail from home servers [localhost] (PHP)
- Mail not send (PHP)
- IE Redirect and pop ups (Viruses, Spyware and other Nasties)
- Random Web Site Redirects (Viruses, Spyware and other Nasties)
Other Threads in the C Forum
- Previous Thread: pls.help me im begging you!!!
- Next Thread: How come my argc keeps giving me -1???
Views: 4397 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays bash binarysearch changingto char character cm copyanyfile copypdffile createprocess() database directory drawing dynamic execv feet fgets file floatingpointvalidation fork framework function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux histogram homework i/o ide include infiniteloop initialization input interest intmain() iso keyboard kilometer lazy license linked linkedlist linux list looping loopinsideloop. lowest matrix meter microsoft mqqueue oddnumber odf open openwebfoundation overwrite pause pdf pointer pointers posix power process program programming pyramidusingturboccodes radix read recursion recv recvblocked reversing segmentationfault single socket socketprogramming spoonfeeding standard strchr string student suggestions system test testing threads unix urboc user whythiscodecausesegmentationfault win32api windowsapi





