27403 Parallax Inc, 27403 Datasheet - Page 232

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 - Avoid_Tawara_Left ]-------------------------------------
Avoid_Tawara_Left:
' -----[ Subroutine - Avoid_Tawara_Right ]------------------------------------
Avoid_Tawara_Right:
' -----[ Subroutine - Go_Forward ]--------------------------------------------
Go_Forward:
INPUT qtiSigLeft
INPUT qtiSigRight
PULSOUT DummyPin, temp
qtiLF
qtiRF = ~qtiSigRight
LOW qtiPwrLeft
LOW qtiPwrRight
RETURN
#IF DEBUG_MODE = 1 #THEN state = ATL #ENDIF
FOR counter = 1 TO 15
NEXT
FOR counter = 1 TO 15
NEXT
RETURN
#IF DEBUG_MODE = 1 #THEN state = ATR #ENDIF
FOR counter = 1 TO 15
NEXT
FOR counter = 1 TO 15
NEXT
RETURN
maneuver = Backward
GOSUB Servos_And_Sensors
maneuver = RotateRight
GOSUB Servos_And_Sensors
maneuver = Backward
GOSUB Servos_And_Sensors
maneuver = RotateLeft
GOSUB Servos_And_Sensors
= ~qtiSigLeft
' Start the decays
' Wait threshold time
' Snapshot of QTI signal states
' Turn off QTIS
' Back up
' Turn right
' Back up
' Turn left

Related parts for 27403