28122 Parallax Inc, 28122 Datasheet - Page 92
28122
Manufacturer Part Number
28122
Description
KIT WHAT'S A MICRO:PARTS ONLY
Manufacturer
Parallax Inc
Datasheet
1.28123.pdf
(340 pages)
Specifications of 28122
Accessory Type
Parts Kit
Product
Microcontroller Accessories
Core Processor
PIC16C57c
Flash
128 Bytes
Operating Supply Voltage
9 V
Board Size
31 mm x 16 mm
For Use With/related Products
Board of Education Full Kit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 92 of 340
- Download datasheet (6Mb)
ACTIVITY #4: TWO PUSHBUTTONS CONTROLLING TWO LED CIRCUITS
Let’s add a second pushbutton into the project and see how it works. To make things a
little more interesting, let’s also add a second LED circuit and use the second pushbutton
to control it.
Pushbutton and LED Circuit Parts
(2) Pushbuttons – normally open
(2) Resistors - 10 kΩ (brown-black-orange)
(2) Resistors – 470 Ω (yellow-violet-brown)
(2) Resistors – 220 Ω (red-red-brown)
(2) LEDs – any color
Adding a Pushbutton and LED Circuit
Figure 3-12 shows a second LED and pushbutton circuit added to the circuit you tested in
the previous activity.
Your Turn – Faster/Slower
√
√
√
√
√
Save the example program under a different name.
Modify the program so that the LED flashes twice as fast when you press and
hold the pushbutton.
Modify the program so that the LED flashes half as fast when you press and
hold the pushbutton.
Build the circuit shown in Figure 3-12. If you need help building the circuit
shown in the schematic, use the wiring diagram in Figure 3-13 as a guide.
Modify ReadPushbuttonState.bs2 so that it reads
to test your second pushbutton circuit.
IN4
instead of
IN3
, and use it
Related parts for 28122
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Microcontroller Modules & Accessories DISCONTINUED BY PARALLAX
Manufacturer:
Parallax Inc
Part Number:
Description:
BOOK UNDERSTANDING SIGNALS
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
COMPETITION RING FOR SUMOBOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
TEXT INFRARED REMOTE FOR BOE-BOT
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BOARD EXPERIMENT+LCD NX-1000
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
CONTROLLER 16SERVO MOTOR CONTROL
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
BASIC STAMP LOGIC ANALYZER
Manufacturer:
Parallax Inc
Datasheet:
Part Number:
Description:
IC MCU 2K FLASH 50MHZ SO-18
Manufacturer:
Parallax Inc
Datasheet: