Project b3 four outputs, Optional – Elenco XP&trade User Manual
Page 36

-35-
Build this circuit and turn on the switch (S1). Load
program Four Outputs into the microcontroller using the
programming instructions in project B1.
The microcontroller controls four outputs - the speaker,
green LED, red LED, and motor - and turns them on and
off in sequence. Try doing that without a microcontroller!
Now download program Four Outputs Faster or Four
Outputs Together into the microcontroller. The circuit
performs a little differently.
Project B3
Four Outputs
Optional:
You can change the blink rate by editing
the PAUSE times in the program, then re-
downloading it to the microcontroller. The
PAUSE time must be a whole number
between 0 and 65535. Do not change
anything else in the program. The program
at left is the Four Outputs program.
Microcontrollers are very flexible
because they let you change what a
circuit does just by reprogramming,
and without changing the actual
components.
!
WARNING:
Moving parts.
Do not touch the fan or
motor during operation. Do
not lean over the motor.
+