27404 Parallax Inc, 27404 Datasheet - Page 228

COMPETITION RING FOR SUMOBOT

27404

Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet

Specifications of 27404

Accessory Type
Hobby and Education
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
For Use With/related Products
SumoBot®
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Contains lead / RoHS non-compliant
#ENDIF
' -----[ Variables ]----------------------------------------------------------
temp
multi
counter
maneuver
sensors
qtiLF
qtiRF
irLS
irLF
irRF
irRS
#IF DEBUG_MODE = 1 #THEN
#ENDIF
' -----[ EEPROM Data ]--------------------------------------------------------
RunStatus
QtiThresh
' -----[ Initialization ]-----------------------------------------------------
GOSUB Reset
GOSUB Start_Delay
GOSUB Calibrate_Qtis
#IF DEBUG_MODE = 1 #THEN
#ENDIF
GOSUB Look_About
' State constants.
ATL
ATR
GF
TFLO
TFRO
TSLO
TSRO
SP
state
DEBUG CLS,
"Sensors
"--------
CON
CON
CON
CON
CON
CON
CON
CON
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
VAR
DATA
DATA
State
--------
0
1
2
3
4
5
6
7
Word
Word
Byte
Nib
Byte
sensors.BIT5
sensors.BIT4
sensors.BIT3
sensors.BIT2
sensors.BIT1
sensors.BIT0
Nib
0
Word 0
Maneuver", CR,
--------", CR
' Avoid_Tawara_Left
' Avoid_Tawara_Right
' Go-Forward
' Track_Front_Left_Object
' Track_Front_Right_Object
' Track_Side_Left_Object
' Track_Side_Right_Object
' Search_Pattern
' Temporary variable
' Multipurpose variable
' Loop counting variable.
' SumoBot travel maneuver
' Sensor flags byte
' Stores snapshot of QtiSigLeft
' Stores snapshot of QtiSigRight
' State of Left Side IR
' State of Left Front IR
' State of Right Front IR
' State of Right Side IR
' State machine value
' Run status EEPROM byte
' Word for QTI threshold time
' Wait for Reset press/release
' 5 Second delay
' Determine b/w threshold
' Display table heading
' Was Goto Look_About

Related parts for 27404