state Should be an integer value of 1 or 0.
Sets the state of the buzzer on or off.
Returns true if the buzzer is on, false if the buzzer is off.
Turns the buzzer on.
Turns the buzzer off.
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.)