122-28029 Parallax Inc, 122-28029 Datasheet - Page 192

GUIDE STUDENT SMART SENSORS

122-28029

Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet

Specifications of 122-28029

Accessory Type
Manual
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
Smart Sensors
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
Page 180 · Smart Sensors and Applications
individually with a
individual characters. Figure 5-7 is a display generated with this technique.
You can use the
DATA
wide when you add the
row is the same width. Otherwise, finding the character you want becomes a more
complex problem.
To display the entire background once at the beginning of the program, you can then use
a
mind that, while the net effect is the same as a long
FOR…NEXT
directive stores 100 characters (0 to 99). Notice also that each row is 14 characters
DATA CLS,
"
"
"
"------+------", CR,
"-3-2-1| 1 2 3", CR,
"
"
loop. It retrieves and displays each character stored in EEPROM. Keep in
-2|
-3|
3|
2|
1|
DATA
FOR…NEXT
directive to store a background in EEPROM. Notice how this
CR
", CR,
", CR,
", CR,
", CR,
", CR, CR
control character. It makes programming much easier if each
loop that uses
' 0
' 14
' 28
' 42
' 56
' 70
' 84
' 98 + 1 = 99
READ
DEBUG
and
DEBUG
command, the EEPROM is
Figure 5-7
Background
from DATA Directive
commands to display

Related parts for 122-28029