122-28029 Parallax Inc, 122-28029 Datasheet - Page 24
122-28029
Manufacturer Part Number
122-28029
Description
GUIDE STUDENT SMART SENSORS
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
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
- Current page: 24 of 340
- Download datasheet (5Mb)
Page 12 · Smart Sensors and Applications
Display Numbers with Formatters
Most of the formatters that worked for displaying numbers with the Debug Terminal can
also be used with the Parallax Serial LCD. The
useful, but you can also use
example, if you want to display the decimal value of a variable named
use commands like this:
Example Program - LcdTestNumbers.bs2
Aside from demonstrating that you can display variable values on the serial LCD, this
program also shows what happens if the program sends more than 16 printable characters
to Line 0. It wraps to Line 1. Also, after printing sixteen more characters and filling
Line 1, the text will wrap again, to Line 0.
' Smart Sensors and Applications - LcdTestNumbers.bs2
' Display number values with the Parallax Serial LCD.
' {$STAMP BS2}
' {$PBASIC 2.5}
counter
SEROUT 14, 84, [22, 12]
PAUSE 5
FOR counter = 0 TO 12
NEXT
END
SEROUT 14, 84, [DEC counter, " "]
PAUSE 500
√
√
SEROUT 14, 84, [DEC counter]
Enter, save, and run LcdTestNumbers.bs2
Verify that the display resembles Figure 1-11.
VAR
Byte
DIG
,
REP
,
ASC
,
BIN
,
HEX, SDEC
' Target device = BASIC Stamp 2
' Language
' FOR...NEXT loop index
' Initialize LCD
' 5 ms delay for clearing display
' Count to 12; increment at 1/2 s
' Program end
DEC
formatter is probably the most
, and most of the others. For
= PBASIC 2.5
counter
, you can
Related parts for 122-28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
MANUAL FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
GUIDE STUDENT PROCESS CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
MANUAL PROPELLER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
LEAD WIRES FLYING CABLE III/IV
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
BOARD ADAPTER AND FLY LEADS
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
PLATFORM CABLE USB II
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
KIT STARTER COOLRUNNER-II BUNDLE
Manufacturer:
Xilinx Inc
Datasheet:
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
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: