28029 Parallax Inc, 28029 Datasheet - Page 211

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
"#####################", CR,
"###
"###
"###
"#####################", CR
YouWin DATA @486, HOME,
"
"
"#####
"####
"# ###
"#
"##
"##
" ####
"
"
' -----[ Variables ]----------------------------------------------------------
x
y
index
char
symbol
points
' -----[ Initialization ]-----------------------------------------------------
x = 10
y = 5
DEBUG CLS
' Display maze.
symbol = Maze
FOR index = 0 TO 242
NEXT
' -----[ Main Routine ]-------------------------------------------------------
DO
READ index + symbol, char
DEBUG char
' Display background at cursor position.
index = (22 * y) + x + 1
READ index + symbol, char
DEBUG CRSRXY, x, y, char
PAUSE 50
#################
###############
####
YOU LOSE
###########
###########
#########
YOU WIN
#####
#####
###
VAR
VAR
VAR
VAR
VAR
VAR
####
#####", CR,
### #", CR,
#### ", CR,
####", CR,
####", CR,
####", CR,
####", CR,
Word
Word
Word
Byte
Word
Byte
##", CR,
##", CR,
#", CR,
", CR,
", CR,
", CR,
", CR
Chapter 5: Accelerometer Gaming Basics · Page 199
' YouWin background
' x & y tilts & graph coordinates
' EEPROM address and character
' Symbol address for EEPROM DATA
' Points during game
' Start game character in middle
' Clear screen
' Set Symbol to Maze EEPROM DATA
' Display maze
' Coordinates -> EEPROM address
' Get background character
' Display background character
' Pause for blink effect

Related parts for 28029