Elenco Snap Circuits SnapMicro ® I Standard User Manual

Page 27

Advertising
background image

26

The advantage of a micro-controller is that the circuit need not change to produce different audio effects.
By modification of the program, all four songs can play, one after the other. Consider the flowchart
program shown below.

In the

flow chart shown on the left each song is

played one after the other with a 5 second delay between each song. Open the program editor and
draw this flowchart. Use the simulate button to test that the program plays the songs and pauses for 5
seconds between each song. If the Flowchart passes the simulate test save it in your project folder.


Under the PICAXE

®

heading click on the ‘Convert Flowchart to Basic….’ command. The following

screen should appear;

Advertising