29121 Parallax Inc, 29121 Datasheet
29121
Specifications of 29121
Related parts for 29121
29121 Summary of contents
Page 1
... Education and Super Carrier Board) LCD Terminal AppMod Pinout Copyright © Parallax, Inc. General: info@parallax.com 599 Menlo Drive, Suite 100 Rocklin, California 95765, USA Technical: support@parallax.com Office: (916) 624-8333 Web Site: www.parallax.com Fax: (916) 624-8003 Educational: www.stampsinclass.com LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 2
... Super Carrier Board (left) and a Board of Education (right). Use caution: reversing the connection could result in applying power to the LCD’s ground pins and could damage your unit. Schematic Vdd 1 k k Copyright © Parallax, Inc LCD R Vdd Vss k Vdd LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 3
... This program demonstrates the use of the Parallax LCD Terminal AppMod ' with any BS2-series microcontroller. This program uses conditional ' compilation techniques which make it completely BS2-agnostic. Custom ' character generation and animation is demonstrated. ' -----[ I/O Definitions ]------------------------------------------------- Copyright © Parallax, Inc. (Copyright 2003-04, All Rights Reserved) LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 4
... Display Data RAM control ' Character Generator RAM ' DDRAM address of line 1 ' DDRAM address of line 2 ' LCD scroll timing (ms) ' address pointer ' cursor position ' character sent to LCD ' loop counter ' loop counter ' left-most button ' right-most ' loop counter LCD Terminal AppMod (#29121) ' char 0 ' char 1 v1.2 8/1/2008 Page ...
Page 5
... CG RAM ' prepare to write CG data ' build 4 custom chars LCD Terminal AppMod (#29121) ' char 2 ' smiley ", 0 v1.2 8/1/2008 Page ...
Page 6
... Pac-Man animation ' cover 8 characters ' 5 characters in animation ' position cursor ' select "frame" ' write animation character ' delay between chars ' clear the LCD ' display "Type =" ' move cursor to 2nd line ' check type at compile LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 7
... RETURN ' Scroll a message across LCD line Copyright © Parallax, Inc. ' display type on LCD ' clear the LCD ' write "Buttons:" ' read/debounce buttons ' show on 2nd line ' display buttons ' button letter if pressed ' otherwise dash ' run demo again LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 8
... RETURN Copyright © Parallax, Inc. ' move to start of window ' write chars in 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 LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...
Page 9
... LCD bus inputs ' get high nibble ' get low nibble ' return data lines to outputs ' make LCD bus inputs ' assume all pressed ' make sure button held ' debounce return bus to outputs www.parallax.com LCD Terminal AppMod (#29121) v1.2 8/1/2008 Page ...