Error to send caracter " using serout2 command


Closed Thread
Results 1 to 3 of 3
  1. #1
    Sunrise77's Avatar
    Sunrise77 Guest

    Unhappy Error to send caracter " using serout2 command

    Hi ..... help......
    I would want to send character ASCII " using command SEROUT2. as I can make inasmuch as the character" comes recognized like character of the command? Thanks

    my pbp version: 2.45
    my string: SEROUT2 portc.6,188,["Hello",""",13]
    error: bad token, empty string not allowed

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    The double quotes " is ASCII character $22 hex or 34 decimal. Send it as such, just as you are doing for the Return Character 13....

    SEROUT2 portc.6,188,["Hello",34,13]

  3. #3
    Sunrise77's Avatar
    Sunrise77 Guest


    Did you find this post helpful? Yes | No

    Default TANKS melanie .......

    Quote Originally Posted by Melanie
    The double quotes " is ASCII character $22 hex or 34 decimal. Send it as such, just as you are doing for the Return Character 13....

    SEROUT2 portc.6,188,["Hello",34,13]



    TANKS melanie .......

Similar Threads

  1. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 20:31
  2. About USB
    By dias11 in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 3rd December 2009, 20:41
  3. Serout and 18F87J50
    By Glenn_Webber in forum Serial
    Replies: 8
    Last Post: - 20th November 2009, 14:26
  4. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 02:38
  5. Can I do this???
    By noobie in forum mel PIC BASIC
    Replies: 2
    Last Post: - 10th June 2006, 18:57

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts