27403 Parallax Inc, 27403 Datasheet - Page 252

GUIDE APP ROBOTCS W/SUMOBOT V1.0

27403

Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet

Specifications of 27403

Accessory Type
Manual
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 - Track_Front_Left_Object ]-------------------------------
Track_Front_Left_Object:
' -----[ Subroutine - Track_Front_Right_Object ]------------------------------
Track_Front_Right_Object:
' -----[ Subroutine - Track_Side_Left_Object ]--------------------------------
Track_Side_Left_Object:
RETURN
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = TFLO #ENDIF
counter = 0
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 15
LOOP
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 30
LOOP
RETURN
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = TFRO #ENDIF
counter = 0
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 15
LOOP
DO UNTIL (irLF = 1 AND irRF = 1) OR counter > 30
LOOP
RETURN
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 1 #THEN state = TSLO #ENDIF
DO UNTIL irRF = 1 OR irLF = 1
maneuver = CurveLeft
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateLeft
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = CurveRight
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateRight
GOSUB Servos_And_Sensors
counter = counter + 1
maneuver = RotateLeft
' Curve left 15
' Rotate left 30
' Curve right 15
' Rotate right 30
' Rotate left

Related parts for 27403