Case 16 - Ambulance Siren

Part 1   Objective

After you upload the program, CyberPi emits ambulance sirens.

Part 2   Preparation

  • CyberPi x 1

  • USB cable (Type-C) x 1

  • Computer with network access x 1

Connect CyberPi to the computer by using the cable, open mBlock 5 (PC client or web version), connect CyberPi, and select the Upload mode.

37.gif

38.gif

Part 3   Programming

CyberPi emits sounds of different frequencies via the speaker. They last for different lengths of time, sounding like ambulance sirens.

39.gif

Part 4   Practice

Try to generate sounds with different tones.

 

 

Was this article helpful?
1 out of 1 found this helpful

Comments

0 comments

Article is closed for comments.