Buzzer

set_state

Parameters: state Should be an integer value of 1 or 0.

Sets the state of the buzzer on or off.

is_on

Returns true if the buzzer is on, false if the buzzer is off.

turn_on

Turns the buzzer on.

turn_off

Turns the buzzer off.

toggle

Toggles the state of the buzzer. (If the buzzer is on, then it will be turned off, if it is off, then it will be turned on.)