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 Element button located in the toolbox from the Embedded tab.
Properties
The following properties can be changed for the buzzer click element:
Name
The name of the element.
PWM Driver Instance
The PWM driver instance number to use.
PWM Pin
The hardware’s PWM pin the element is connected to.
Initial Volume
The percentage of the buzzer’s initial volume setting from 0-100%.
Frequency (Hz)
The frequency (in Hz) the PWM is set to.
Triggers
The following triggers are available to execute events from within the buzzer click element:
Triggered
Execute an event when the source element connected to the buzzer click triggers.
Turned On
Execute an event when the buzzer is turned on.
Turned Off
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.
Beeped
Execute an event when the buzzer is beeped once.
Abilities
The following abilities are available for the buzzer click element when its source element triggers:
Trigger
Trigger the element(s) that follow the buzzer click element.
Turn On
Turn on the buzzer.
Turn Off
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
Beep the buzzer once.