Shop OBEX P1 Docs P2 Docs Learn Events
Can some one give me some code to output text on an LCD...Thank You — Parallax Forums

Can some one give me some code to output text on an LCD...Thank You

Harry1Harry1 Posts: 29
edited 2006-10-02 12:34 in Propeller 1
read Subject line

arigato

Comments

  • Harry1Harry1 Posts: 29
    edited 2006-09-29 15:23
    VAR
    Byte Tem2p
    byte Str[noparse][[/noparse]32]
    DAT
    //worde String "H"
    OBJ

    serial : "Serial_Lcd"

    PUB run(Index)

    serial.start(3,9600,1)
    dira~~
    'Str[noparse][[/noparse]0]:="A"
    serial.putc("WORK, DAMMIT")


    Okay that is what i have so far. I just can't see what might be wrong
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2006-09-29 15:24
    YES

    no problems

















    What LCD?
    1 digit 7 segment?
    VGA graphic?
    TFT?
    Character LCD?
    What? details etc
    People are here to help. HELP being the operative word, not DO.

    *Peter*
  • Harry1Harry1 Posts: 29
    edited 2006-09-29 15:30
    It is a 2 line 16 character parrallax serial LCD


    I am sure the LCD Works (it works in test mode)
  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2006-09-29 15:34
    serial.start(3,9600,1)
    dira~~
    'Str[noparse][[/noparse]0]:="A"
    serial.putc("WORK, DAMMIT")


    Hmmmm..... let's see ....
    PUB putc(txByte) 
    
    '' Transmit a byte
    
    


    and you are sending a string in place of a byte... damnit

    Also, it might not need it but a CLS never hurts during initialization.

    *Peter*
  • HarleyHarley Posts: 997
    edited 2006-09-29 21:44
    Harry1,

    GIMME is rude. Some forums will kick a member off that tries the 'gimme' attitude.

    AND, you wouldn't even state what sort of LCD you were using. We cannot see what you have.

    AND, you didn't do much of a search. There is a serial LCD demo with the IDE.

    Hopefully you can ASK next time. AND when you need help, provide some info with the 'request'.

    Please don't 'gimme'.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Harley Shanko
    h.a.s. designn
  • James LongJames Long Posts: 1,181
    edited 2006-09-29 22:34
    Harley,

    WOW.......I hope I never get on your bad side....I always try to ask for help.

    But I do agree.

    James L
  • simonlsimonl Posts: 866
    edited 2006-10-02 12:34
    James: Ditto!

    Harry1: Most people are only too happy to help, but please remember that we can only read the words you type, so we need as much info' as possible wink.gif

    p.s. I guess we also forget that English may not be a poster's first language, so we need to be a bit understanding too...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheers,

    Simon
Sign In or Register to comment.