Shop OBEX P1 Docs P2 Docs Learn Events
CONTROL LCD with [74LS174+BS2] — Parallax Forums

CONTROL LCD with [74LS174+BS2]

KHALILKHALIL Posts: 8
edited 2012-06-10 14:26 in BASIC Stamp
Hello.

Please anyone have a simple basic program(bs2 ) to test a two wires LCD interface.
( minimize the pines)

I want test LCD + 74LS174 circuit

two wires : Data and clock pins

Best Regards,
Sans titre.jpg
1024 x 736 - 40K

Comments

  • Mike GreenMike Green Posts: 23,101
    edited 2012-06-10 14:26
    Look at the chapter in the Basic Stamp Syntax and Reference Manual on the SHIFTOUT statement. It has all the information you need to send data to a shift register like the 74LS174. There are further examples in the StampWorks Manual based on other shift registers.

    The BS2 can interface directly to a parallel LCD like the one you've shown and there are examples in the Nuts and Volts Columns of how to do so, but you are on your own in using a shift register to save I/O pins. It's not much more complicated to use a shift register, but you'll have to work it out yourself using existing LCD code as a basis. There are no ready-to-go examples.
Sign In or Register to comment.