28123 Parallax Inc, 28123 Datasheet - Page 293

TEXT WHAT'S A MICROCONTROLLER

28123

Manufacturer Part Number
28123
Description
TEXT WHAT'S A MICROCONTROLLER
Manufacturer
Parallax Inc
Type
Programmingr
Datasheet

Specifications of 28123

Style
Book
Title
What's a Microcontroller?
Contents
Whats a Microcontroller? Text
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
Lead Free Status / RoHS Status
Not applicable / Not applicable
' What's a Microcontroller - ReadPotWithRcTime.bs2
' Read potentiometer in RC-time circuit using RCTIME command.
' {$STAMP BS2}
' {$PBASIC 2.5}
time
DO
LOOP
Your Turn – Building and Testing the Photoresistor Circuit
Once the first RC-time circuit has been built and tested, the process can be repeated for
the second RC-time circuit.
HIGH 7
PAUSE 100
RCTIME 7, 1, time
DEBUG HOME, " time =
Verify that the BASIC Stamp gets reliable measurements from the
potentiometer.
Correct any problems you catch before moving on to the next circuit.
Add the photoresistor circuit shown in Figure 10-5 to your project on the
breadboard.
Modify ReadPotWithRcTime.bs2 so the photoresistor is connected to P9.
Correct any problems you catch before moving on to the next activity.
VAR
Word
", DEC5 time

Related parts for 28123