text: const { Accelerometer, Board } = require("../lib/johnny-five.js");
  const board = new Board();
  
  board.on("ready", () => {
    const accelerometer = new Accelerometer({
      controller: "MPU6050"
    });
  
    accelerometer.on("change", () => {
      const {acceleration, inclination, orientation, pitch, roll, x, y, z} = accelerometer;
      console.log("Accelerometer:");
      console.log("  x            : ", x);
      console.log("  y            : ", y);
      console.log("  z            : ", z);
      console.log("  pitch        : ", pitch);
      console.log("  roll         : ", roll);
      console.log("  acceleration : ", acceleration);
      console.log("  inclination  : ", inclination);
      console.log("  orientation  : ", orientation);
      console.log("--------------------------------------");
    });
  });
  