code: function ADXL345(board) {
      Module.call(this);
      this._board = board;
      this._baseAxis = 'z';
      this._sensitive = 10;
      this._detectTime = 50;
      this._messageHandler = onMessage.bind(this);
      this._init = false;
      this._info = {
        x: 0,
        y: 0,
        z: 0,
        fXg: 0,
        fYg: 0,
        fZg: 0
      };
      this._callback = function () {};
      this._board.send([0xf0, 0x04, 0x0b, 0x00, 0xf7]);
    }
docs: The ADXL345 class.
  
  ADXL345 is a small, thin, ultralow power, 3-axis accelerometer.
  
  @namespace webduino.module
  @class ADXL345
  @constructor
  @param {webduino.Board} board The board that the ADXL345 accelerometer is attached to.
  @extends webduino.Module