27404 Parallax Inc, 27404 Datasheet - Page 242

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
#IF DATALOG_MODE = 2 #THEN
#ENDIF
The same
previous example program also has to be updated when
ensures that correct state values are written to EEPROM.
' -----[ Subroutine - Avoid_Tawara_Left ]-------------------------------------
Avoid_Tawara_Left:
' -----[ Subroutine - Avoid_Tawara_Right ]------------------------------------
Avoid_Tawara_Right:
' -----[ Subroutine - Go_Forward ]--------------------------------------------
Go_Forward:
Playback_Round:
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = ATL #ENDIF
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = ATR #ENDIF
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = GF #ENDIF
FOR logIndex = 0 TO MaxBytes STEP 2
NEXT
END
.
.
.
.
.
.
.
.
.
READ LogData + logIndex, Word temp
sensors = temp.HIGHBYTE
state = temp.NIB1
maneuver = temp.NIB0
GOSUB Display_All
state
variable that was updated by the navigation subroutines for the
' Loop gets all records
' Get record
'
DATALOG_MODE = 1
. This

Related parts for 27404