Shop OBEX P1 Docs P2 Docs Learn Events
Serial LCD Backlight Problems — Parallax Forums

Serial LCD Backlight Problems

ghost13ghost13 Posts: 133
edited 2007-05-31 23:33 in BASIC Stamp
Hi,

I have the Prallax 2x16 Serial Backlit LCD. I programmed it as instructed, but the backlight doesn't turn on until after the first cycle. And after the 1st cycle, it doesn't stay on... it flashes rapidly and no text is displayed. My code is attached.

Any help is appreciated.

THANKS!!!

Comments

  • ghost13ghost13 Posts: 133
    edited 2007-05-27 19:59
    And calling [noparse][[/noparse]cpde]SEROUT 0, T2400, (17)[noparse][[/noparse]/code] also seems to move the cursor over to the middle of the screen.

    Is this my fault?
  • boeboyboeboy Posts: 301
    edited 2007-05-28 00:19
    I think that this is the problem you put
    SEROUT 0, T2400, (17,12)
    

    I think that it should be,
    SEROUT 0, T2400, ($17,$12)
    

    You needed to put the dollar sines in front of the numbers so that is shows that they are HEX numbers

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    My computer, http://forums.parallax.com/showthread.php?p=630466
  • ghost13ghost13 Posts: 133
    edited 2007-05-28 03:33
    That would make sense rolleyes.gif
  • ghost13ghost13 Posts: 133
    edited 2007-05-31 23:01
    Hmm...

    I tried that, and no luck. Here's my example code:
    SEROUT 3, T2400, ($22, $12, $17)
      SEROUT 3, T2400, ($17)
      PAUSE 5
      SEROUT 3, T2400, ("Insert into the", $13, "test chamber.")
    



    It also displays the quote mark in ""Insert into the"" and ""test cahmber""

    Also, how do I print a variable's value?
    It was declared like this:
    SYMBOL  apogee  = W4         ' base reading everything is based off of
    



    Any help would be awesome!!!

    Thanks
  • ghost13ghost13 Posts: 133
    edited 2007-05-31 23:33
    Ok... I solved my 1st question... butmy 2nd one still stands:
    how do you display variables?

    Thanks!

    (I'm using the BS1)

    EDIT: Problem solved smile.gif

    Post Edited (ghost13) : 6/1/2007 12:06:19 AM GMT
Sign In or Register to comment.