Change baud rate on SerLCD


Closed Thread
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187

    Default Change baud rate on SerLCD

    How do I change the baud rate on this display whit PBP?
    http://www.sparkfun.com/datasheets/LCD/SerLCD_V2_5.PDF

    Code:
    'To set the backlight on I use this and itīs working.
    SEROUT2 lcdtx,84,[124,157]
    
    'But how do I set the baud rate?
    SEROUT2 lcdtx,84,[124,"<control>k"] doesīt work

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Code:
    SEROUT2 lcdtx,84,[124,k]
    Maybe...
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Nope doesīt work.

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,520


    Did you find this post helpful? Yes | No

    Default

    Hi,
    How about:
    Code:
    SEROUT2 lcdtx,84,[124, 11] ' 2400baud, 11 is ASCII code for CTRL-k
    SEROUT2 lcdtx,84,[124, 16] ' 38400baud, 16 is ASCII code for CTRL-p
    I'm not sure that's what they mean by <CONTROL>k etc but it's an idea. I looked at this page for reference and it shows capitals letters (CTRL-K etc) but it may be worth a try....

    /Henrik.

  5. #5
    Join Date
    Jan 2008
    Location
    Sweden
    Posts
    187


    Did you find this post helpful? Yes | No

    Default

    Thank you. Now it works : )

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