text: // var hardware = require('hardware');
  var tessel = require('tessel');
  console.log("Connecting to acceleroemter on port bank A");
  var accel = require('../').connect(tessel.port("A"));
  
  // Initialize the accelerometer.
  accel.on('connected', function () {
    // Loop forever.
    setInterval(function () {
      accel.getAcceleration(function (err, xyz) {
        console.log("x:", xyz[0].toFixed(2),
          "y:", xyz[1].toFixed(2),
          "z:", xyz[2].toFixed(2));
      });
    }, 100);
  });