29121 Parallax Inc, 29121 Datasheet - Page 8

MODULE APP: LCD TERMINAL 2X8

29121

Manufacturer Part Number
29121
Description
MODULE APP: LCD TERMINAL 2X8
Manufacturer
Parallax Inc
Datasheet

Specifications of 29121

Display Type
LCD - Monochrome
Display Mode
Reflective
Number Of Digits/alpha
16
Display Format
8 x 2
Character Format
*
Voltage - Supply
5.0V
Interface
Parallel
Character Count X Line
8 x 2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Operating Temperature
-
Backlight
-
Viewing Area
-
Outline L X W X H
-
Dot Size
-
Character Size
-
Lead Free Status / Rohs Status
 Details
' -- set starting position in 'crsrPos'
' -- point to 0-terminated string (first location in 'addr')
' -- strings should be padded with eight spaces on each end
LCD_Scroll_String:
' Send command to LCD
' -- put command byte in 'char'
LCD_Command:
' Write character to current cursor position
' -- but byte to write in 'char'
LCD_Write_Char:
Copyright © Parallax, Inc.
DO
LOOP
RETURN
#IF _LcdReady #THEN
#ELSE
#ENDIF
#IF _LcdReady #THEN
#ELSE
#ENDIF
RETURN
char = crsrPos
GOSUB LCD_Command
FOR idx = 0 TO 7
NEXT
IF (char = 0) THEN EXIT
addr = addr + 1
PAUSE LcdScrollTm
LCDCMD E, char
RETURN
LOW RS
GOTO LCD_Write_Char
LCDOUT E, 0, [char]
LcdBusOut = char.HIGHNIB
PULSOUT E, 3
LcdBusOut = char.LOWNIB
PULSOUT E, 3
HIGH RS
READ (addr + idx), char
IF (char = 0) THEN EXIT
GOSUB LCD_Write_Char
LCD Terminal AppMod (#29121)
' write chars in window
' move to start of window
' stop if end of string
' scroll
' write command to LCD
' write character to LCD
' output high nibble
' strobe the Enable line
' output low nibble
' return to character mode
v1.2 8/1/2008 Page 8 of 9

Related parts for 29121