       Serial.print("R ");
       print_event(value % EVENT_MAX);
       Serial.write(' ');
-      Serial.println(value);
-      //Serial.println("R M1 01:23:45.678 123345 123");
+      Serial.println((uint32_t)value);
+      //Serial.println("R M1 123345 123");
     }
     else
     {


void loop_wait(void)
{
  static uint32_t prev_time = 0;
  while( prev_time == ms_time );
  prev_time = ms_time;
}

      break;
  }

  print_uint64(events[index].time);
}

void setup(void)
{
