28029 Parallax Inc, 28029 Datasheet - Page 41
28029
Manufacturer Part Number
28029
Description
KIT PARTS SMART SENSORS W/TEXT
Manufacturer
Parallax Inc
Datasheet
1.122-28029.pdf
(340 pages)
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
- Current page: 41 of 340
- Download datasheet (5Mb)
' Configuration variables for Scroll_Message subroutine.
increment
windowRight
windowLeft
messageStart
messageEnd
' -----[ Initialization ]-----------------------------------------------------
SEROUT LcdPin, T9600, [LcdOn, LcdCls]
PAUSE 5
' -----[ Main Routine ]-------------------------------------------------------
' Set values of configuration variables, then call Scroll_Message.
messageStart = Message1:
windowLeft
increment
GOSUB Scroll_Message
' Change the values of various configuration variables and demonstrate the
' effect on the display with each change.
windowLeft
GOSUB Scroll_Message
messageStart = Message1:
GOSUB Scroll_Message
messageStart = Message3:
windowLeft
increment
GOSUB Scroll_Message
END
' -----[ Subroutine - Scroll_Message ]----------------------------------------
Scroll_Message:
cursorStart = windowRight - increment + 1
head = 0
tail = increment - 1
' Scrolling loop
DO WHILE tail<(MessageEnd-MessageStart)+(windowRight-windowLeft+increment)
SEROUT LcdPin, T9600, [cursorStart]
FOR pointer = head TO tail
= 134:
= 1
= 131:
= 150:
= 2
VAR
VAR
VAR
VAR
VAR
Nib
Byte
Byte
Byte
Byte
messageEnd
windowRight = 137
windowRight = 140
messageEnd
messageEnd
windowRight = 161
= message2
= message3
= message4
Chapter 1: Parallax Serial LCD Display · Page 29
' Turn on display & clear
' Characters to shift
' Rightmost character address
' Leftmost character address
' Start EEPROM address
' End EEPROM address
' Delay 5 ms
' Rightmost character in window
' Clear old characters.
' Rightmost character in window
' Initialize head and tail
' of message
Related parts for 28029
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
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:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: