28029 Parallax Inc, 28029 Datasheet - Page 298

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
Page 286 · Smart Sensors and Applications
You can also nest the
15
By controlling the cursor offset like this, the bar graph can display two axes with vertical
values from 1 to 31 and horizontal values from 0 to 15.
A Two-Axis Display
While the previous Your Turn section demonstrated displaying characters on two axes, a
completely blank display doesn't really communicate that the value is in the middle of its
range. A better way to get the message across is by causing two custom characters to
appear next to each other. Figure 7-4 shows how it works. The first two display
examples are not in the middle of either the horizontal or vertical ranges, so single
characters are displayed. The third example is in the middle of the horizontal range (8),
so the vertical measurement is displayed on two adjacent characters. The fourth example
shows that the measurement is in the middle of its vertical range, so rows in both the top
and bottom character have black pixels. When the measurement is centered in both the
horizontal and vertical the fifth example shows how it should look. These features are
especially important for graphically indicating when one or both of the two accelerometer
axes are level.
...
NEXT
LOOP
Try it!
loop, and cause the bar graph to move across the display each time it repeats.
NEXT
DEBUG CR, CR
PAUSE 500
ELSE
ENDIF
DEBUG ? value
GOSUB Def_Vert_Bar_Char
GOSUB Disp_Cust_Char
PAUSE 50
line = Line1
line = Line0
FOR value = 1 TO 31
...
NEXT
loop inside a
FOR cursor = 0 TO

Related parts for 28029