void setup() {
Serial.begin(115200);
}
void loop() {
unsigned long currentTime = millis();
Serial.print("The current time in milliseconds is: ");
Serial.println(currentTime);
// Waits between 500ms to 1500s
delay(random(500, 1500));
}
void setup() {
Serial.begin(115200);
}
void loop() {
unsigned long currentTime = millis();
Serial.print("The current time in milliseconds is: ");
Serial.println(currentTime);
// Waits between 500ms to 1500s
delay(random(500, 1500));
}