27404 Parallax Inc, 27404 Datasheet - Page 240

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
because we do not want to overwrite all the recorded records from the round the
SumoBot just finished before they get displayed.
DATALOG_MODE = 2
playback will use all the features that
example program. This
Now, it also has the
either or both of the conditions can be true for the DEBUG command to get compiled.
#IF DEBUG_MODE = 1 OR DATALOG_MODE = 2 #THEN
#ENDIF
When the program is run as
with the
the
.
maneuver
When
EEPROM between each servo pulse. The best way to do this is by copying them to
different parts of a word variable, and then storing that word variable in EEPROM with a
WRITE
DATALOG_MODE = 1
subroutine.
LOWBYTE
DEBUG CLS,
sensors
DEBUG_MODE
command.
WRITE
"Sensors
"--------
.
variable.
NIB1
variable copied to its
command. Figure 5-5 shows a map of each word. Each word value has
gets the value of the
is 1, the
State
--------
DATALOG_MODE = 2
As with the
is for playing back the recorded values from EEPROM. This
code is also at the beginning of the
#IF
statement used to just have the
sensors
DATALOG_MODE = 1
Maneuver", CR,
--------", CR
DEBUG_MODE = 1
,
.HIGHBYTE
DEBUG_MODE = 1
state
state
condition. The
, and
variable, and
. Two nibbles are also copied to its
, word values are stored in EEPROM
' Display table heading
maneuver
code, the best place for the
used in the previous activity's
DEBUG_MODE = 1
OR
Figure 5-5
Datalogged Word
Variable
Two nibbles and a
byte are copied to
different parts of a
word variable before
it is copied to an
EEPROM address.
NIB0
variables are all stored to
operator makes it so that
Servos_And_Sensors
gets the value of the
condition.

Related parts for 27404