27403 Parallax Inc, 27403 Datasheet - Page 176
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: 176 of 266
- Download datasheet (6Mb)
that state while
pbSesnse
State diagrams can be visual aids for describing the different states in certain programs
along with the conditions the programs use to transition from one state to the next. For
example, PushbuttonLed.bs2 can be thought of as the instructions to make the SumoBot a
state machine implementation of Figure 4-9.
Example Program: PushbuttonLed.bs2
' Applied Robotics with the SumoBot - PushbuttonLed.bs2
' Simple finite state machine example.
' {$STAMP BS2}
' {$PBASIC 2.5}
pbSense
LedSpeaker PIN 5
LOW LedSpeaker
DO
LOOP
IF pbSense = 1 THEN
ELSE
ENDIF
PAUSE 100
√
√
DEBUG HOME, "State = Blink LED"
TOGGLE LedSpeaker
DEBUG HOME, "State = Led off", CLREOL
LOW LedSpeaker
Enter, save, and run PushbuttonLed.bs2
Monitor the LED and Debug Terminal as you press and hold and then release the
pushbutton on the SumoBot's breadboard. Do you agree that this program really
does implement the state machine diagram in Figure 4-9? Is it the only way the
figure can be implemented?
= 0.
PIN 6
pbSense
= 1, and the other that transitions to
LED off
when
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: