28029 Parallax Inc, 28029 Datasheet - Page 35

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
Example Program: Hourglass.bs2
This program defines and displays the hourglass custom characters just discussed.
' -----[ Title ]--------------------------------------------------------------
' Smart Sensors and Applications - Hourglass.bs2
' Define and display custom characters.
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ Initialization ]-----------------------------------------------------
PAUSE 250
SEROUT 14, 84, [248,
SEROUT 14, 84, [255,
DO
LOOP
Enter, save, and run the program.
Verify that it alternately displays the two hourglass characters at the sixth
character in the LCD's top row.
SEROUT 14, 84, [133]
SEROUT 14, 84, [0]
PAUSE
SEROUT 14, 84, [8]
SEROUT 14, 84, [7]
PAUSE 1500
%00000,
%11111,
%11111,
%01110,
%00100,
%01010,
%10001,
%11111]
%00000,
%11111,
%10001,
%01010,
%00100,
%01110,
%11111,
%11111]
1250
' Cursor -> Line 0, char
' Display Custom Character 0
' Delay for 1.25 seconds
' Backspace
' Display Custom Character 7
' Delay for 1.50 seconds
Chapter 1: Parallax Serial LCD Display · Page 23
' Target device = BASIC Stamp 2
' Language
' Debounce power supply
' Define Custom Character 0
'
' * * * * *
' * * * * *
'
'
'
' *
' * * * * *
' Define Custom Character 7
'
' * * * * *
' *
'
'
'
' * * * * *
' * * * * *
* * *
*
*
* * *
*
*
*
*
*
*
= PBASIC 2.5

Related parts for 28029