27403 Parallax Inc, 27403 Datasheet - Page 71
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: 71 of 266
- Download datasheet (6Mb)
Example Program: PushbuttonMode.bs2
' -----[ Title ]--------------------------------------------------------------
' Applied Robotics with the SumoBot - PushbuttonMode.bs2
' {$STAMP BS2}
' {$PBASIC 2.5}
' -----[ I/O Definitions ]---------------------------------------------------
pbSense
LedSpeaker
' -----[ Variables ]----------------------------------------------------------
temp
counter
√
√
√
√
√
Enter, save, and run PushbuttonMode.bs2.
Press and hold the pushbutton as you press and release the Reset Button.
Wait until the speaker beeps three consecutive times before letting go of the
pushbutton.
Verify that the Debug Terminal indicates mode 3 has been selected.
Repeat and try selecting different modes.
Strategy Tip
Your SumoBot programs could use this mode argument any number of ways. For example,
it might use SELECT...CASE to choose between different kinds of navigation routines that
search for opponents. On the other hand, it might just select something like a frequency to
use to make the SumoBot's IR object detectors more nearsighted, or a different number of
pulses for turning in place in the ring.
ENDIF
END
ENDSELECT
CASE 1
CASE 2
CASE 3
CASE 4
CASE 5
PIN
PIN
DEBUG "one"
DEBUG "two"
DEBUG "three"
DEBUG "four"
DEBUG "five"
VAR
VAR
6
5
Word
Byte
' Target = BASIC Stamp 2
' Language = PBASIC 2.5
' Pushbutton connected to P6
' LED/speaker connected to P5
' Temporary variable
' Loop counting variable.
' End program
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: