MikroElektronika Buzzer Click Element
The buzzer click element is used to turn the hardware’s buzzer on or off. This element is for using the MikroElektronika Buzz Click board.
The buzzer click is a sensor element that can be imported into the Element Toolbox through the Add Elementbutton located in the toolbox from Embedded View.
The following properties can be changed for the buzzer click element:
The name of the element.
PWM Driver Instance
The PWM driver instance number to use.
The hardware’s PWM pin the element is connected to.
The percentage of the buzzer’s initial volume setting from 0-100%.
The frequency (in Hz) the PWM is set to.
The following triggers are available to execute events from within the buzzer click element:
Execute an event when the source element connected to the buzzer click triggers.
Execute an event when the buzzer is turned on.
Execute an event when the buzzer is turned off.
Volume Set Low
Execute an event when the buzzer’s volume is set to low.
Volume Set Medium
Execute an event when the buzzer’s volume is set to medium.
Volume Set High
Execute an event when the buzzer’s volume is set to high.
Execute an event when the buzzer is beeped once.
The following abilities are available for the buzzer click element when its source element triggers:
Trigger the element(s) that follow the buzzer click element.
Turn on the buzzer.
Turn off the buzzer.
Set Volume Low
Set the buzzer’s volume to low (33%).
Set Volume Medium
Set the buzzer’s volume to medium (66%).
Set Volume High
Set the buzzer’s volume to high (100%).
Beep the buzzer once.