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

This is a discussion on How can i send "ok"to my Vb at comm 1? within the C++ Programming forums, part of the General Programming Boards category; Hello there..currently i am doing the serial communication between my Vb interface and the PICDEM 2 PLUS board in MPLAB ...

  1. #1
    CSooi
    Join Date
    Oct 2004
    Posts
    5

    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]....so 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
    Posts
    14,826
    STOP SPAMMING THE BOARD!

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

    Quzah.
    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, 08: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, 10:22 AM
  4. LISP (DrScheme) any one?
    By Jeremy G in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 03-31-2004, 12:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21