Shop OBEX P1 Docs P2 Docs Learn Events
lcd 27977 with 16f88 and picbasic — Parallax Forums

lcd 27977 with 16f88 and picbasic

billwillbillwill Posts: 3
edited 2008-11-08 04:58 in General Discussion
i have a parallax lcd 27977. i use picbasic to program my 16f88. what i'm trying to do is get some text displayed to this lcd but not having any success. i'm using the picbasic "serout" statement via portb.4/pin 10. having Rx lead connected to this port produces no text at all to the lcd.

anyone tried this setup before and/or have any suggestions?

tia

Comments

  • LeonLeon Posts: 7,620
    edited 2008-11-06 19:25
    Are you using the correct baud rate?

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • Mike GreenMike Green Posts: 23,101
    edited 2008-11-06 20:01
    Also make sure the contrast is set properly. Look at the LCD documentation on page 5 about test mode.
  • billwillbillwill Posts: 3
    edited 2008-11-06 21:29
    test mode works ok, and displays the char's ok. the contrast i did adjust, so that is working ok. i tried different baud rates and set the dips accordingly too.
  • Mike GreenMike Green Posts: 23,101
    edited 2008-11-06 21:34
    Can't help you much on the PICBasic piece. You might try inverted mode. That shouldn't be what's needed, but PICBasic might have this backwards.
  • billwillbillwill Posts: 3
    edited 2008-11-08 04:58
    thanks!

    "t2400" did the trick but values "396",[noparse][[/noparse]Driven,True,None] and "16780",[noparse][[/noparse]Driven,Inverted,None] didn't. {??}

    OSC and OSCCON had to be set correctly or i couldn't get any text to display. the datasheet at section at 4.6.1 for 16F88 helped with that. working now


    mucho gracias!
Sign In or Register to comment.