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

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
FOR temp = (y MIN 1 – 1) TO (y MAX 9 + 1)
NEXT
PAUSE 50
Replace the “ Display asterisk at new cursor position” routine with this:
' Display asterisk at new cursor position (modified).
DEBUG CRSRXY, x,
PAUSE 50
Run the program and try it. Test to make sure problems do not occur as one of
the outermost asterisks is forced off the plot area.
index = (22 * temp) + x + 1
READ index, char
DEBUG CRSRXY, x, temp, char
CRSRXY, x MAX 19 + 1, y,
CRSRXY, x,
CRSRXY, x MIN 1 - 1,
CRSRXY, x,
y,
y MAX 9 + 1,
y,
y MIN 1 - 1,
Chapter 5: Accelerometer Gaming Basics · Page 195
"*",
"*",
"*",
"*",
"*"
Figure 5-13
Group of Asterisks
with Background
Refresh

Related parts for 122-28029