27403 Parallax Inc, 27403 Datasheet - Page 222
27403
Manufacturer Part Number
27403
Description
GUIDE APP ROBOTCS W/SUMOBOT V1.0
Manufacturer
Parallax Inc
Datasheet
1.27404.pdf
(266 pages)
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
- Current page: 222 of 266
- Download datasheet (6Mb)
' -----[ Variables ]----------------------------------------------------------
#IF DEBUG_MODE = 1 #THEN
#ENDIF
All the
is added to the Initialization section.
' -----[ Initialization ]-----------------------------------------------------
#IF DEBUG_MODE = 1 #THEN
#ENDIF
Since all roads lead to the
to put some code for displaying what's happening inside the program. In this example,
the command
Remember, the subroutine call only becomes part of the program when
' -----[ Subroutine - Servos_And_Sensors ]------------------------------------
Servos_And_Sensors:
Since each subroutine represents a different operating 'state' for the SumoBot, code has to
be added to the beginning of each one to set the value of the
some examples.
' -----[ Subroutine - Avoid_Tawara_Left ]-------------------------------------
Avoid_Tawara_Left:
state
DEBUG CLS,
#IF DEBUG_MODE = 1 #THEN
#ENDIF
#IF DEBUG_MODE = 1 #THEN state = ATL #ENDIF
.
.
.
.
.
.
.
.
.
.
GOSUB Display_All
sensor
"Sensors
"--------
GOSUB Display_All
,
state
VAR
State
--------
, and
Nib
Servos_And_Sensors
maneuver
Maneuver", CR,
--------", CR
has been placed at the beginning of the subroutine.
values are displayed in a table, so a table heading
subroutine, that's the most logical place
' State machine value
' Display table heading
' Call Display_All subroutine
state
variable. Here are
DEBUG_MODE = 1
.
Related parts for 27403
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:
COMPETITION RING FOR SUMOBOT
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: