130-28029 Parallax Inc, 130-28029 Datasheet - Page 28
130-28029
Manufacturer Part Number
130-28029
Description
KIT PARTS SMART SENSORS
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
Specifications of 130-28029
Accessory Type
Education Kit
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
BASIC Stamp®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
- Current page: 28 of 340
- Download datasheet (5Mb)
Page 16 · Smart Sensors and Applications
' Shift "Line 1" across Line 1 right to left, then left to right.
FOR index = 9 TO 0
NEXT
FOR index = 0 TO 9
NEXT
PAUSE 1000
' Clear LCD, then display then Display "ALL DONE" in center and flash 5 times
SEROUT 14, 84, [12]: PAUSE 5
SEROUT 14, 84, [135, "ALL", 13, 154, "DONE!"]' "ALL" and "DONE" centered
FOR index = 1 TO 4
NEXT
END
Your Turn - More Positioning
More elaborate displays can benefit from loops and lookup tables. Here is an example of
a "T E S T" display in a loop and with the help of a couple of
that you can control the position of each character's placement by adjusting the values for
offset
' IMPORTANT: Make sure there's a space after the 1 in "Line 1 ".
SEROUT 14, 84, [148 + index, "Line 1 "]
PAUSE 100
' IMPORTANT: Make sure there's a space between the " and the L character.
SEROUT 14, 84, [148 + index, " Line 1"]
PAUSE 250
SEROUT 14, 84, 500, [21, 22]
√
in the second
PAUSE 1000
SEROUT 14, 84, [12]: PAUSE 5
SEROUT 14, 84, ["This is a", 13]
FOR index = 0 TO 3
NEXT
Try it!
PAUSE 600
LOOKUP index, ["T", "E", "S", "T"], character
LOOKUP index, [
SEROUT 14, 84, [(148 + offset), character]
LOOKUP
1,
command's list of values.
5,
9,
13], offset
' Clear display
' Text & CR
' Character display sequence
' 1 second delay
' Clear LCD
' Flash display 5 times
' Program end
LOOKUP
commands. Note
Related parts for 130-28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KIT PROPELLER EDU PROJECT PARTS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
KIT PARTS PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: