 #include <ESP8266WebServer.h>
 #include <WiFiManager.h>
 #include <cmath>
+#include <EEPROM.h>
 
 // GPIO settings
 const int redPin_    = 15; //12

  return level;
}



/**
 * Internal getters and setters

  float B;
};

struct Calibration {
  // Luminous fluxes
  float redLum;
  float greenLum;
  float blueLum;
  float maxLum;
  
  // LED u', v' coordinates
  Luv redUv;
  Luv greenUv;
  Luv blueUv;
  
  // Mixing fit coefficients
  float redToGreenFit[3];
  float greenToBlueFit[3];
  float blueToRedFit[3];

  // Checksum
  uint32_t crc32;
};

// Is the light on?
bool onOff_;

// Raw PWM values
RGB raw_;
