27403 Parallax Inc, 27403 Datasheet - Page 77

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
ResetTest:
' -----[ Subroutine - Reset ]-------------------------------------------------
Reset:
' -----[ Subroutine - Start_Delay ]-------------------------------------------
Start_Delay:
' ---> Pasted from PushbuttonMode.bs2 (Mode_Select subroutine) <---
' -----[ Subroutine - Mode_Select ]-------------------------------------------
' Selects mode of operation
Mode_Select:
ENDIF
DEBUG CR, "Done!"
END
READ RunStatus, temp
temp = temp + 1
WRITE RunStatus, temp
IF (temp.BIT0 = 1) THEN
ELSE
ENDIF
RETURN
FOR counter = 1 TO 5
NEXT
RETURN
DEBUG CR,
FOR temp = 1 TO 5
ENDSELECT
DEBUG CLS, "Press/release Reset", CR,
END
DEBUG CR, "Program running..."
PAUSE 900
FREQOUT LedSpeaker, 100, 3000
FOR counter = 1 TO temp
DEBUG "five"
CR, "Release pushbutton after",
CR, "number of beeps to select",
CR, "mode (1 to 5)."
"button..."
' Verify we made it to main.
' Byte @RunStatus -> temp
' Increment temp
' Store new value for next time
' Examine temp.BIT0
' 1 -> end, 0 -> keep going
' 5 beeps, 1/second
' Display user instructions
' Cycle 5 times
' temp beeps, 1/second

Related parts for 27403