28129 Parallax Inc, 28129 Datasheet - Page 158

TEXT BASIC ANALOG & DIGITAL

28129

Manufacturer Part Number
28129
Description
TEXT BASIC ANALOG & DIGITAL
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28129

Style
Book
Title
Basic Analog and Digital
Contents
Basic Analog and Digital Text
Product
Microcontroller Accessories
Lead Free Status / RoHS Status
Not applicable / Not applicable
Figure 8-7 shows the output under low light conditions.
Figure 8-8 shows a sample of the output with the lights out. Overflow occurred. The
discharge time was more than 65,536 microseconds. As a result, the variable reset to zero
because the light variable also overflowed. Since both
to zero, the variable
programmed as:
overflow, so sound became (65535 -–0)/40 = 1638.
sound = (65535 – light)/40
sound
reached its maximum. This is because sound was
. Light was reset to zero due to
dischargeTime
Figure 8-7
Sample Debug
Terminal
Output for Low
Light
and
light
reset

Related parts for 28129