beautypg.com

Project b18 super click counter – Elenco XP&trade User Manual

Page 50

background image

Project B18

Super Click Counter

Build the circuit as shown. Turn on the slide
switch (S1). Load program Super Click
Counter into the microcontroller (U21) using
the programming instructions in project B1.

Press the F8 key or select Terminal under
the PICAXE menu to open a terminal
window for communication with the
microcontroller, set the baud rate to 4800,
and select Refresh. Turn the slide switch
(S1) off and on to reset the microcontroller.

Push the press switch (S2) as many times
as you like. The program keeps count, and
things happen as the count increases.

Optional:

-49-

You can change
when the LEDs
go on and off.