Thread: How can i send "ok"to my Vb at comm 1?

  1. #1
    Join Date
    Oct 2004

    Question How can i send "ok"to my Vb at comm 1?

    Hello there..currently i am doing the serial communication between my Vb interface and the PICDEM 2 PLUS board in MPLAB ICD 2,so i tried sending the "ok"to my Vb from my board using this code
    putrsUSART((rom char*)"ok"); for a return, putrsUSART((rom char *)"ok\r");

    this code enable me to send "ok" to comm 1 but then it will follow by [00] after the "ok"..for examples is "ok"[00] is there anyway for me just to send "ok" and not "ok"[00]..hope to hear from you soon...thanks..

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001

    You already posted this on the C board. Go read the Announcements.

    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Comm Port - Send Packets
    By samuelmoneill in forum C Programming
    Replies: 1
    Last Post: 04-09-2009, 07:58 AM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 09:32 AM
  3. How can i send "ok"to my hyperterminal?
    By ooicheesan in forum C Programming
    Replies: 3
    Last Post: 10-14-2004, 09:22 AM
  4. LISP (DrScheme) any one?
    By Jeremy G in forum A Brief History of
    Replies: 5
    Last Post: 03-31-2004, 12:52 PM