28029 Parallax Inc, 28029 Datasheet - Page 45

KIT PARTS SMART SENSORS W/TEXT

28029

Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet

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
Chapter 1: Parallax Serial LCD Display · Page 33
The TestScrollingSubroutine.bs2 uses the variables shown in Figure 1-23 for the sliding
window. The
variable stores the position that the cursor is placed each
cursorStart
time before it starts printing the characters in the message. In the figure,
cursorStart
stores the value 135. The next time the text shifts to the left, it will store 134. Two
variables,
and
, store the beginning and ending addresses of the text that will
head
tail
fit in the message window. In the figure,
stores 0, and
stores 2. The
head
tail
pointer
variable will be used by the
command to get the right character, and the
READ
character
variable will store the character the
command retrieves from EEPROM.
READ
Figure 1-23: Variables from TestScrollingRoutine.bs2.
In Figure 1-23,
is pointing at character 1 in the sequence, which is "e". A
pointer
...
loop uses the
variable to read each of the characters in EEPROM,
FOR
NEXT
pointer
from
to
and then display each with the
command. Each time the text
head
tail
SEROUT
shifts to the right, the new text has to overwrite the old text with the same
to
head
tail
loop.

Related parts for 28029