 }
 
 int readMotion() {
+    // MPU6050
+    // class default I2C address is 0x68
+    // specific I2C addresses may be passed as a parameter here
+    // AD0 low = 0x68 (default for InvenSense evaluation board)
+    // AD0 high = 0x69
+    MPU6050 mpu6050(0x68);
+    mpu6050.initialize(); // Initialize MPU6050...
+    ACCELOK = mpu6050.testConnection(); // ...and verify connection
+
     if (ACCELOK)
     {
         // read raw accel/gyro measurements from device

        }
    }

    SOUNDV = signalMax - signalMin;  // max - min = peak-peak amplitude

    return 1;
}

int readPower() {
    // If voltage is fixed, e.g. 240V,
    // and resistance is known/assumed,
    // then the only variation is amperage.

float Si1132InfraRd = 0; //Lux

bool ACCELOK = false;
int16_t ax, ay, az, gx, gy, gz;

//********************************************************************************
//********************************************************************************
