    // Calculate the angle of the vector z,x from magnetic North
 //   float heading = atan2(mag.magnetic.x,mag.magnetic.z) * (180 / Pi);
     float heading = orientation.heading;
-
+//    Serial.print("Heading");
+//    Serial.println(heading);
    // Normalize to 0-360 for a compass heading
    if (heading < 0) {
       heading = 360 + heading;

}
  
// main processing loop
void loop(void) 
{
   // Read the magnetometer and determine the compass heading:
   lsm.getEvent(&accel, &mag, &gyro, &temp); 
   

#include <FastLED.h>


#define DATAPIN_LEFT    0
#define CLOCKPIN_LEFT   1
#define DATAPIN_RIGHT    6
#define CLOCKPIN_RIGHT   9
#define NUM_LEDS 21 //Number of LEDS per lense

CRGB leftLense[NUM_LEDS];
