buzzer

Category:Circuit Playground

buzzer The buzzer is an object representing the sound buzzer on the Circuit Playground, which lets you play simple sounds and notes. Internally this buzzer is connected to pin 5.

Properties and Methods

Tips

  • You can only play one note at a time with the buzzer, keep this in mind when creating songs.

Additional Information

From http://johnny-five.io/api/piezo/

Found a bug in the documentation? Let us know at documentation@code.org