27404 Parallax Inc, 27404 Datasheet - Page 223

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
' -----[ Subroutine - Avoid_Tawara_Right ]------------------------------------
Avoid_Tawara_Right:
' -----[ Subroutine - Go_Forward ]--------------------------------------------
Go_Forward:
The
state, and maneuver. The
BIN8
names. The maneuver values are displayed as abbreviations of their constant names.
' -----[ Subroutine - Display_All ]-------------------------------------------
#IF DEBUG_MODE = 1 #THEN
#IF DEBUG_MODE = 1 #THEN state = ATR #ENDIF
#IF DEBUG_MODE = 1 #THEN state = GF #ENDIF
Display_All:
.
.
.
.
.
.
.
.
DEBUG BIN8 sensors,
SELECT state
Display_All
operator. All the states are displayed with abbreviations that match their constant
CASE ATL
CASE ATR
CASE GF
CASE TFLO
CASE TFRO
CASE TSLO
CASE TSRO
CASE SP
DEBUG "ATL"
DEBUG "ATR"
DEBUG "GF"
DEBUG "TFLO"
DEBUG "TFRO"
DEBUG "TSLO"
DEBUG "TSRO"
DEBUG "SP"
CRSRX, 10
subroutine displays the current
sensors
variable is displayed as an 8-bit binary value with the
' Display sensors byte as bits
' Cursor to column 10
' Display state
sensors
variable’s value, navigation

Related parts for 27404