 
 #define R 31.8975139158 //https://diarmuid.ie/blog/post/pwm-exponential-led-fading-on-arduino-or-other-platforms
 void setLed(String mRgb) {
-  // Convert it to long
+  // Convert it to long 
   long number = strtol(&mRgb[0], NULL, 16);  
   // Split them up into r, g, b values
   int r = number >> 16;

  analogWrite(rgbrPin, pow (2, (r / R)) - 1);
  analogWrite(rgbgPin, pow (2, (g / R)) - 1);
  analogWrite(rgbbPin, pow (2, (b / R)) - 1);
}

void faiBeep(unsigned int millis) {

dht DHT;
SimpleTimer timer;

byte touchCount = 0;
boolean alarmOn = false;
boolean alarmScattato = false;
boolean alarmInserito = false;
volatile boolean rumoreRilevato = false;
boolean movimentoRilevato = false;
boolean connected = false;
byte skip = 0;
unsigned long epoch = 0;
unsigned long lastEpoch = 0;
unsigned int lastPhoto;
char lastLed[7] = "000000";

// #################### esp8266 ####################

