   {
     if( val_ok )
     {
-      debounce = value;
+      debounce = (uint32_t)value;
       eeprom_write(ROM_OFFSET_DEBOUNCE, debounce);
     }
     Serial.print("B ");

      ms_time = value;
    }
    Serial.print("N ");
    Serial.println(ms_time);
  }
  else if( strcasecmp(cmd, "ping") == 0 )
  {
    Serial.print("P ");
    Serial.println(val_ok ? value : 0);
  }
  else if( strcasecmp(cmd, "id") == 0 )
  {

  Timer1.start();
}

void command_process(char * cmd, uint64_t value, bool val_ok )
{
  if( strcasecmp(cmd, "time") == 0 )
  {
