28029 Parallax Inc, 28029 Datasheet - Page 37
28029
Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 28029
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp® or Javelin Modules
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Other names
28029PAR
- Current page: 37 of 340
- Download datasheet (5Mb)
LOOP
ACTIVITY #5: SCROLLING TEXT ACROSS THE DISPLAY
If your message is too wide for the 16 character display, scrolling the text across the
display can make it work. Figure 1-18 shows an example. With scrolling, the message
begins at the far right of the display. Then, the text shifts across the display one letter at a
time.
The scrolling code introduced in this activity is quite different from the example program
in Activity #2 that made "Line 1" move across the display. The main reason it's different
is because the message in Activity #2 stopped at the leftmost character. When the
' Backspace, Custom Character 1, backspace, Custom Character 2, etc.
' optional Pace argument of 100 sends each value every 1/10 of a second.
SEROUT 14, 84, 100, [8, 1, 8, 2, 8, 3, 8, 4, 8, 5, 8, 6, 8, 7, 8]
PAUSE 750
√
Try it!
Even though the LCD only stores 8 custom characters at a time, your program can
store as many as you need. Remember, your program can redefine any of the custom
characters at any time. If your application needs twenty custom characters, your PBASIC
program can store 20 custom characters and redefine them for the LCD as needed.
You can display the hourglass with just one custom character. The entire hourglass
animation can be done with just one custom character. The trick is to redefine the custom
character between each time the display is updated.
Chapter 1: Parallax Serial LCD Display · Page 25
Figure 1-18
Scrolling Text
Related parts for 28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: