27404 Parallax Inc, 27404 Datasheet - Page 241
27404
Manufacturer Part Number
27404
Description
COMPETITION RING FOR SUMOBOT
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
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
- Current page: 241 of 266
- Download datasheet (6Mb)
' -----[ Subroutine - Servos_And_Sensors ]------------------------------------
Servos_And_Sensors:
The last conditional compiler directive in the initialization section sends the program to a
label named
#IF DATALOG_MODE = 2 #THEN
#ENDIF
GOSUB Look_About
The
of like an alternate main routine when
loop that takes the
through the loop, the
word at the EEPROM address
.HIGHBYTE
copied to the
those three variables contain the values from a given record, the
subroutine is called, and a new line of values appears in the Debug Terminal before the
FOR...NEXT
' -----[ Main Routine ]-------------------------------------------------------
DO
LOOP
#IF DEBUG_MODE = 1 #THEN
#ENDIF
#IF DATALOG_MODE = 1 #THEN
#ENDIF
GOTO Playback_Round
.
.
.
GOSUB Display_All
temp.HIGHBYTE = sensors
temp.NIB1 = state
temp.NIB0 = maneuver
WRITE LogData + LogIndex, Word temp
logIndex = logIndex + 2
IF logIndex >= (LogData + MaxBytes) THEN END
Playback_Round
.
.
.
Playback_Round
of the
loop does its next iteration.
state
temp
logIndex
variable, and
READ LogData + logIndex, Word temp
label comes after the
variable is then copied to the
if
variable from 0 to
LogData + logIndex
DATALOG_MODE = 2
temp.NIB0
DATALOG_MODE = 2
DO...LOOP
is copied to the
' Call Display_All subroutine
' Copy values to parts of temp
' Store record in EEPROM
' Word values -> index + 2
' Alternate main routine
' Was Goto Look_About
MaxBytes
.
sensors
in the Main Routine. It's kind
into the
. It contains a
maneuver
in steps of 2. Each time
variable.
temp
command copies the
variable. Once
variable. The
Display_All
temp.NIB1
FOR...NEXT
is
Related parts for 27404
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ 28SSOP
Manufacturer:
Parallax Inc
Datasheet: