Itty Bitty Buggy: Buzzer Tutorial (mDesigner)

From Microduino Wiki
Revision as of 22:40, 1 November 2018 by Sonny (talk | contribs) (Created page with "=Buzzer= Buggy Base contains a Buzzer capable of producing sounds. When pulses of electricity are sent to the Buzzer, the pulses causes the Buzzer to vibrate and produce an au...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Buzzer

Buggy Base contains a Buzzer capable of producing sounds. When pulses of electricity are sent to the Buzzer, the pulses causes the Buzzer to vibrate and produce an audible sound. Pulses of different frequencies will cause the Buzzer to produce different notes. The following blocks will allow the user to control the Buzzer.

Block: Play Note

Buzzer can be controlled to play a note with the Buzzer - Play Note block.


Function: This block controls the Buzzer to play the selected note for the specified duration.

Note: If the duration (seconds) is set (not 0) this block is holding. Which means the note must complete playing before the program goes to the next block in the script.
Note: As of mDesigner v1.6:
  • In "online mode" this block accepts whole and decimal numbers.
  • In "offline mode" this block only accepts WHOLE numbers. Decimal numbers will be rounded down.
IBB mDesigner Buzzer Block Play Note.png
  • Note - select note to play.
  • Duration - time in seconds to play the selected note.