28128 Parallax Inc, 28128 Datasheet - Page 158

no-image

28128

Manufacturer Part Number
28128
Description
KIT BASIC ANALOG/DIGI PARTS ONLY
Manufacturer
Parallax Inc
Datasheet

Specifications of 28128

Accessory Type
ADC, DAC
Product
Microcontroller Accessories
For Use With/related Products
BASIC Stamp® 2 and Board of Education
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
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 28128