Buzzer

Buzzer Buzzer

The buzzer is a simple speaker. It can make sounds, and you can use it to make music.

Main Functions

awesome.buzzer.turnOn(frequency)

Turns the buzzer on, so that it makes a sound.

Inputs

It takes an integer frequency as an input. A higher number will make a higher pitched sound. We usually use between 200-800.

Example

awesome.buzzer.turnOn(350);

awesome.buzzer.turnOff()

Turns the buzzer off, so that it stops making a sound.

Example

awesome.buzzer.turnOff();

Tips

You can use the buzzer to make music!

x

Goodbye and thanks for all the fish,

Thanks for helping us Kickstart Awesome Shield and learning with us. Sadly, turning Awesome Shield into a sustainable business didn’t work out and so we’re in the process of officially shutting down the company.

Read our full letter.

If you have an Awesome Shield you can keep using it and the learning platform.


Close Message