           // format: <cmd> <value>
           cmd = strtok(buffer, " ");
           param = strtok(NULL, " ");
-          value = param != NULL ? strtoul(param, &endptr, 0) : 0;
+          value = param != NULL ? strtoull(param, &endptr, 0) : 0;
 
           command_process(cmd, value, (param != NULL) && (*endptr == 0));
 

      break;
  }

  print_time(events[index].time);
  Serial.write(' ');
  Serial.print(events[index].time);
}


void setup(void)
{

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