28029 Parallax Inc, 28029 Datasheet - Page 221

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
E5. The number of characters to store equals 5 x 3 = 15. The minimum variable size
P1. The key to solving this problem is to move the graph inside the
P2. Modify PlotXYGraph.bs2 so that it displays the coordinates of the most recently
FOR x = 1 TO 15
NEXT
to use would be a Nib (4 bits), with which the addresses could range from 0 to
15. There would be room for only one (1) additional character.
change
Example solution:
DO
LOOP
placed asterisk to the right of the plot area. To properly display the negative
coordinates, use the
DO
LOOP
FOR y = 1 TO 5
NEXT
DEBUG HOME,
"0123456789X", CR,
"1
"2
"3
"4
"5
"Y
DEBUG "Type X coordinate: "
DEBUGIN DEC1 x
DEBUG CR, "Type Y coordinate: "
DEBUGIN DEC1 y
DEBUG CRSRXY, x, y, "*"
DEBUG CRSRXY, 0, 10, "Press any key..."
DEBUGIN temp
DEBUG CRSRXY, 0, 8, CLRDN
DEBUG "Type X coordinate: "
DEBUGIN SDEC1 x
DEBUG CR, "Type Y coordinate: "
DEBUGIN SDEC1 y
DEBUG CRSRXY, 15, 3, "(X,Y) = (",
x = (x * 2) + 6
y = 3 - y
DEBUG CRSRXY, x, y, "*"
DEBUG CRSRXY, 0, 10, "Press any Key..."
DEBUGIN temp
DEBUG CRSRXY, 0, 8, CLRDN
DEBUG CRSRXY, x, y, "*"
CLS
SDEC x, ",", SDEC y, ")", CLREOL
to
HOME
", CR,
", CR,
", CR,
", CR,
", CR,
", CR, CR
SDEC
. There will be other ways to solve the problem as well.
modifier.
Chapter 5: Accelerometer Gaming Basics · Page 209
DO…LOOP
, and

Related parts for 28029