RS232, max232


Closed Thread
Results 1 to 13 of 13

Thread: RS232, max232

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by therian View Post
    Just one Question how do you format nice colons, is there special symbols ?, mine goes character after characte, line after line
    Not sure what you mean...post an example of what you want and/or what you actually get...

  2. #2
    Join Date
    Jan 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    Not sure what you mean...post an example of what you want and/or what you actually get...
    the output is formatted
    Attached Images Attached Images  

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by therian View Post
    the output is formatted
    And again, is that what you want and can't get or what?
    If that's the output that you want, you have to write that code yourself, using spaces, blank characters, whatever...SEROUT doesn't do that for you.

  4. #4
    Join Date
    Jan 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    And again, is that what you want and can't get or what?
    If that's the output that you want, you have to write that code yourself, using spaces, blank characters, whatever...SEROUT doesn't do that for you.
    so you cant locate cursor as with small lcd

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by therian View Post
    so you cant locate cursor as with small lcd
    It's not shown in the PBP manual, but the basic ASCII character set has things like 'backspace', 'forward space', 'newline', etc. in it.
    Do a search and I'm sure you'll find a million hits with ASCII tables and with values and explanations (i.e. 10 = next line, 13 = carriage return, 32 = space, etc).
    And using various variations of SEROUT/SEROUT2/HSEROUT, etc., you can easily format a serial output to your liking.
    Last edited by skimask; - 29th May 2007 at 06:15.

  6. #6
    Join Date
    Jan 2007
    Posts
    37


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    It's not shown in the PBP manual, but the basic ASCII character set has things like 'backspace', 'forward space', 'newline', etc. in it.
    Do a search and I'm sure you'll find a million hits with ASCII tables and with values and explanations (i.e. 10 = next line, 13 = carriage return, 32 = space, etc).
    And using various variations of SEROUT/SEROUT2/HSEROUT, etc., you can easily format a serial output to your liking.
    Thank you for answer now I will have much cleaner debug output

Similar Threads

  1. UART vs software RS232
    By Michael in forum mel PIC BASIC Pro
    Replies: 27
    Last Post: - 5th September 2008, 18:27
  2. RS232 into 2 PC ports
    By manxman in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 30th August 2008, 13:33
  3. PIC18F4680 to PC via MAX232 (RS232 serial) no output
    By opticsteam1 in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 14th April 2008, 20:39
  4. PIC and MAX232 in/out
    By The Master in forum Serial
    Replies: 10
    Last Post: - 29th March 2008, 20:41
  5. MAX232 and DB9 connecter
    By Tomas in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 25th March 2006, 16:02

Members who have read this thread : 0

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