void loop(){
  wdt_reset();
  
  blinkLED();
  displayVoltages();
  displayVoltages2();
  displayRelaysState();
  displayUptime();
 
  if (millis() % tempo == 0)
    controlCharging();
    
  securityCheck();
  
  delay(1000/HZ);
  
  //die();
}
bool V8Window::indexedSecurityCheckCustom(v8::Local<v8::Object> host, uint32_t index, v8::AccessType type, v8::Local<v8::Value>)
{
    return securityCheck(host);
}
bool V8Window::namedSecurityCheckCustom(v8::Local<v8::Object> host, v8::Local<v8::Value> key, v8::AccessType type, v8::Local<v8::Value>)
{
    return securityCheck(host);
}