28125 Parallax Inc, 28125 Datasheet - Page 168
28125
Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet
1.28125.pdf
(360 pages)
Specifications of 28125
Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 168 of 360
- Download datasheet (5Mb)
The first time through the loop,
retrieve a value of 64 from the first address at the
pulseCount
address specified by the
The third
Pulses_Right
three values in the “0” column of the code snippet on page 153. When the value of those
variables are placed in the code block that follows, this:
FOR counter = 1 TO pulseCount
NEXT
Do you recognize the basic maneuver generated by this code block?
' Robotics with the Boe-Bot - EepromNavigationWithWordValues.bs2
' Store lists of word values that dictate.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Program Running!"
' -----[ Variables ]----------------------------------------------------------
counter
pulseCount
addressOffset
instruction
pulseRight
PULSOUT 13, pulseLeft
PULSOUT 12, pulseRight
PAUSE 20
√
√
√
LOOP UNTIL (pulseCount = 0)
Look at the other columns of the code snippet on page 153 and anticipate what
the
through the loop.
Look at the
The
through the loop?
Enter, save, and run EepromNavigationWithWordValues.bs2.
READ
FOR…NEXT
<>
variable. The second
command retrieves a value of 650 from the first address specified by the
label and places it in the
operator stands for "not equal to". What will happen on the fifth time
VAR
VAR
VAR
VAR
VAR
LOOP UNTIL (pulseCount = 0)
code block will look like on the second, third, and fourth times
Pulses_Left
Word
Word
Byte
Byte
Word
addressOffset
READ
label, and places it in the
command retrieves a value of 850 from the first
pulseRight
becomes
Pulses_Count
' Stamp directive.
' PBASIC directive.
' Stores number of pulses.
' Stores offset from label.
' Stores EEPROM instruction.
' Stores servo pulse widths.
= 0. The first
variable. Notice that these are the
statement in the program below.
FOR counter = 1 TO 64
NEXT
PULSOUT 13, 850
PULSOUT 12, 650
PAUSE 20
label, and place it in the
pulseLeft
READ
command will
variable.
Related parts for 28125
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: