code: function Buzzer(board, pin) {
      Module.call(this);
  
      this._board = board;
      this._pin = pin;
      this._timer = null;
      this._sequence = null;
      this._state = BUZZER_STATE.STOPPED;
  
      this._board.on(BoardEvent.BEFOREDISCONNECT, this.stop.bind(this));
      this._board.on(BoardEvent.ERROR, this.stop.bind(this));
    }
docs: The Buzzer Class.
  
  @namespace webduino.module
  @class Buzzer
  @constructor
  @param {webduino.Board} board The board that the buzzer is attached to.
  @param {Integer} pin The pin that the buzzer is connected to.
  @extends webduino.Module