28125 Parallax Inc, 28125 Datasheet - Page 165

TEXT ROBOTICS

28125

Manufacturer Part Number
28125
Description
TEXT ROBOTICS
Manufacturer
Parallax Inc
Datasheet

Specifications of 28125

Title
Robotics with the Boe-Bot
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
' -----[ Subroutine – Right_Turn ]--------------------------------------------
Right_Turn:
Did your Boe-Bot drive in a rectangle, going forward on the first two sides and
backwards on the second two? If it looked more like a trapezoid, you may want to adjust
the
degree turns.
Your Turn
Your stored instructions will appear highlighted in blue at the beginning of the Detailed
EEPROM Map as shown in Figure 4-7. The numbers shown are the hexadecimal ASCII
(American Standard Code for Information Interchange) codes that correspond to the
characters you entered in your
FOR pulseCount = 1 TO 24
NEXT
RETURN
FOR
PULSOUT 13, 850
PULSOUT 12, 850
PAUSE 20
...
With EepromNavigation.bs2 active in the BASIC Stamp Editor, click Run and
select Memory Map .
Click the Display ASCII checkbox near the lower left corner of the Memory Map
window.
NEXT
loop's
EndValue
DATA
arguments in the turning subroutines to make precise 90-
statement.
' right turn subroutine.
' Send 24 right rotate pulses.
' 1.7 ms pulse to left servo.
' 1.7 ms pulse to right servo.
' Pause for 20 ms.
' Return to Main Routine section.
Figure 4-7
Memory Map
with Stored
Instructions
Visible in
EEPROM Map

Related parts for 28125