 #define BITS_FS_500DPS              0x08
 #define BITS_FS_1000DPS             0x10
 #define BITS_FS_2000DPS             0x18
+#define BITS_FS_2G                  0x00
+#define BITS_FS_4G                  0x08
+#define BITS_FS_8G                  0x10
+#define BITS_FS_16G                 0x18
 #define BITS_FS_MASK                0x18
 #define BITS_DLPF_CFG_256HZ_NOLPF2  0x00
 #define BITS_DLPF_CFG_188HZ         0x01

 
        Serial.print("\r\n");

     // Cause the light to blink.
     static int loopcount = 0;
     static bool light_on = false;
     if (++loopcount == 10) {
       if (light_on) {
         digitalWrite(13, LOW);
         light_on = false;
       } else {
         digitalWrite(13, HIGH);
         light_on = true;
       }
       loopcount = 0;
     }

     // Don't cycle too fast. 
     delay(100); 
     

//*************************************************
{
    // MPU6000 chip select setup
    pinMode(chipSelectPin, OUTPUT);
    digitalWrite(chipSelectPin, HIGH);
    
    // SPI initialization
    SPI.begin();
