Project 6: robotic sounds – Elenco Snap Circuits SnapMicro ® I Standard User Manual

Page 37

Advertising
background image

36

Project 6: Robotic Sounds

This project explains the use of the random command and labels.
Open your flowchart grid and construct the following flowchart.

The random box can be found under the
‘other’ menu.

Use the ‘label’ button to add notes to help
explain each section of the flowchart. A good
practice is to create a word document with
both flowchart and basic program side by
side. These labels help tie the two charts
together.

When you test your flowchart with simulate,
blocks should turn red as the program loops.
A beep should be heard when the sound
block turns red. If no errors occur, save the
flowchart to your library. Use the PICAXE

®

drop down menu to convert this chart to a
basic program. The result should be similar
to the one shown here.








Advertising