28125 Parallax Inc, 28125 Datasheet - Page 66

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
press the Reset button, the BASIC Stamp will run the program properly without freezing.
In programs you write yourself, you should add a single command:
right after the compiler directives. This will open the Debug Terminal and keep the
COM port open. This will prevent your programs from freezing after one pass through
the
chapters. You will see this command in some of the example programs that would not
otherwise need a
programs in this book even if your computer failed the diagnostic test.
Introducing the Timing Diagram
A timing diagram is a graph that relates high (Vdd) and low (Vss) signals to time. In
Figure 2-7, time increases from left to right, and high and low signals align with either
Vdd (5 V) or Vss (0 V). This timing diagram shows you a 1000 ms slice of the high/low
signal you just experimented with. The line of dots (. . .) to the right of the signal is one
way of indicating that the signal repeats itself.
Vdd (5 V)
Vss (0 V)
DO…LOOP
DEBUG "Program Running!"
, or any of the other looping commands you will be learning in later
DEBUG
500 ms
instruction. So, you should be able to run all of the remaining
1000 ms
500 ms
Figure 2-7
Timing Diagram
for
HighLowLed.bs2
The LED on/off
states are shown
above the timing
diagram.

Related parts for 28125