Four Outputs - Elenco Electronics SNAP CIRCUITS XP SCXP-50 Instruction Manual

Table of Contents

Advertisement

Project B3
+
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.
-35-

Four Outputs

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.
WARNING:
Moving parts.
Do not touch the fan or
!
motor during operation. Do
not lean over the motor.
Microcontrollers are very flexible
because they let you change what a
circuit does just by reprogramming,
and without changing the actual
components.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Snap circuits xp

Table of Contents