28125 Parallax Inc, 28125 Datasheet - Page 70

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
' Robotics with the Boe-Bot – PulseBothLeds.bs2
' Send a 0.13 second pulse to P13 and P12 every 2 seconds.
' {$STAMP BS2}
' {$PBASIC 2.5}
DEBUG "Program Running!"
P13
P12
Enter, save, and run PulseBothLeds.bs2.
Verify that both LED circuits simultaneously pulse for about thirteen hundredths
of a second, once every two seconds.
The voltages (Vdd and Vss) in this timing diagram are not labeled. With the BASIC
Stamp, it is understood that the high signal is 5 V (Vdd) and the low signal is 0 V (Vss).
This is a common practice in documents that explain the timing of high and low signals.
Often there are one or more of these documents for each component inside the circuit an
engineer is designing. The engineers who created the BASIC Stamp had to comb through
many of these kinds of documents looking for information needed to help make decisions
while designing the product.
Sometimes the times are also left out, or just shown with a label, like t
desired time values for t
This concept is discussed in more detail in Basic Analog and Digital, another Parallax
Stamps in Class Student Guide.
0.13 s
0.13 s
high
2.26 s
and t
low
are listed in a table somewhere after the timing diagram.
0.13 s
0.13 s
Figure 2-9
Timing Diagram for
PulseBothLeds.bs2
The LEDs emit
light for 0.13
seconds while the
signal is high.
high
and t
low
. Then, the

Related parts for 28125