45184 Parallax Inc, 45184 Datasheet - Page 15

KIT BASIC STAMP 2P PLUS PACK

45184

Manufacturer Part Number
45184
Description
KIT BASIC STAMP 2P PLUS PACK
Manufacturer
Parallax Inc
Datasheet
PP_LCD5x10.BSP
' -----[ Title ]----------------------------------------------------------------
'
' BS2p Plus Pack
'
' File...... PP_LCD5x10.BSP
' Purpose... Basic LCD Demo -- Using 5x10 font and descended characters
' Author.... Parallax, Inc.
' E-mail.... stamptech@parallaxinc.com
' Started...
' Updated... 26 SEP 2001
' {$STAMP BS2p}
' -----[ Program Description ]--------------------------------------------------
'
' This program demostrates a method of intializing a 2x16 LCD so that it behaves
' like a single-line LCD that will display the 5x10 character set.
' character map includes properly descended characters, but they are not mapped
' in the normal ASCII set.
' "squishy" descended characters with proper ones.
'
' Stamp pin 15 is pulled up to Vdd (+5) through 10K.
' Vss (ground) through a N.O. pushbutton switch.
' switch is open, 0 when pressed.
'
' To run this program on the BS2p Demo Board, assemble the the switch circuit on
' the breadboard, connect the LCD to X5 and install Jumper X6. Adjust contrast
' pot for best display.
'
' Refer to the Hitachi HD44780 documentation for details on LCD control.
' -----[ Revision History ]-----------------------------------------------------
'
Parallax, Inc. • BS2p “Plus Pack” (#45184) • 10/2001
Connect LCD to the BS2p Demo Board X5
Install jumper X6
Adjust contrast pot for best display
Assemble pushbutton circuit on breadboard
A simple conversion routine can be used to replace
The pin will read 1 when the
This pin is connected to
The LCD
Page 15

Related parts for 45184