27404 Parallax Inc, 27404 Datasheet - Page 56

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
The
windowpane and use it to make a decision.
Finally,
case,
the threshold value for comparison.
temp
counter
temp
DEBUG CR,
counter = 0
DO UNTIL counter >= 40 OR temp = 0
LOOP
' Display & compare values? (y/n)
DEBUG CR, "Compare values to ", CR,
DEBUGIN temp
' Display and compare values
IF temp = "y" OR temp = "Y" THEN
' Display and compare values
IF temp = "y" OR temp = "Y" THEN
DEBUGIN DEC temp
WRITE Values + counter, Word temp
counter = counter + 2
DEBUG ">"
DEBUG CR,
counter = 0
READ Threshold, Word compare
DO UNTIL counter >= 40 OR temp = 0
variable is then used to get a character from the Debug Terminal's Transmit
READ Values + counter, Word temp
is used to store successive values that get fetched from EEPROM. In this
is re-used as a loop counter, and a third variable,
"Enter up to 20 values", CR,
"between 100 and 1000", CR,
"Press 0 (zero) when done", CR,
">"
"
"Value
"----------
"threshold? (y/n)", CR,
">"
Threshold", CR,
Comparison", CR,
----------", CR
compare
, is used to store

Related parts for 27404