Shop OBEX P1 Docs P2 Docs Learn Events
controlling a 10 pin, 4 bit LCD module — Parallax Forums

controlling a 10 pin, 4 bit LCD module

WhelzornWhelzorn Posts: 256
edited 2004-10-18 04:07 in BASIC Stamp
I have a 10 pin, 4 but LCD module I got from BG Micro a while back, and the data sheet is just awful, and I'd like to white a prog to control this thing. The data sheed can be found here: bgmicro.com/pdf/2x16el.pdf. I would like to use pins 0-6 to control the R/S, R/W, CE, DB-4, DB-5, DB-6, and DB-7 pins on the LCD module. If there is already some sample code for controlling a 4 bit lcd, I would love to see it. BTW for those of you looking at the data sheet, mine is the 2x20 display.

Thanks for looking,
Justin

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2004-10-18 04:07
    Our StampWorks book has 4-bit LCD code. And the commands in the BS2p and BS2pe work with a 4-bit interface. In fact, with very few exceptions, any code you find for BASIC Stamp to LCD interfacing will be written for 4-bit mode to conserve pins.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
    Dallas Office
Sign In or Register to comment.