 #endif
 
 #define LCD_BACK_LIGHT_SENS_DEGREE (0.15) //sensevity of when to turn on backlight
-#define SENSOR_6050_FIFO_HZ 10 //my update to motion_api, should be defined prior include
+#define SENSOR_6050_FIFO_HZ 20 //my update to motion_api, should be defined prior include
 #define USE_LCD
 #define INTERRUPT_PIN 2  // use pin 2 on Arduino Uno & most boards
 #define READINGS_AMOUNT_AVR static_cast<uint8_t>((SENSOR_6050_FIFO_HZ) / 10 + 3) //how many reading to use to calc avr

{
#ifdef USE_LCD
    pinMode(backLightPin, OUTPUT);
    analogWrite(backLightPin, 200);
    lcd.begin(16, 2);
    lcd.clear();
    lcd.print(F("Init,fifo: "));

                    }
                }
            }
            hadUsb = 0;
            interrupts();
        }

        bool static aw_once = true;
        if (abs(az.lastDelta()) > lightSens || abs(el.lastDelta()) > lightSens)
        {
            light = 0;
#ifdef USE_LCD
            analogWrite(backLightPin, MAX_BRIGHTNESS);
#endif
            aw_once = true;
        }
        int lig = light;
        interrupts(); //those asholes do not do sei() after checking timer!!

        if (lig > 30000 && hadUsb > 60000)
        {
#ifdef USE_LCD
            digitalWrite(backLightPin, LOW);
#endif
            interrupts();
            if (!sensorDataReady)
            {
                set_sleep_mode(SLEEP_MODE_IDLE); //only idle seems works by interrupt from sensor
                sleep_enable();
                sleep_mode();
                sleep_disable();
            }
        }
        else
        {
#ifdef USE_LCD
            if (lig > 7000 && aw_once)
            {
                analogWrite(backLightPin, 10);
                aw_once = false;
            }
#endif

            if (timeElapsed > 450)
            {
                auto t = mpu.getTemperature() / 340. + +36.53; //celsius
                printValues(getAz(az - az0), el - el0, t);
                timeElapsed = 0;
            }
        }
        interrupts();
    }
}