|
|
|
@ -19,6 +19,7 @@ int resetTime;
|
|
|
|
|
|
|
|
|
|
String minuteString;
|
|
|
|
|
String hourString;
|
|
|
|
|
String message;
|
|
|
|
|
|
|
|
|
|
/*########################################################*/
|
|
|
|
|
|
|
|
|
@ -172,11 +173,20 @@ void loop() {
|
|
|
|
|
hour = 0;
|
|
|
|
|
bar();
|
|
|
|
|
}
|
|
|
|
|
if (minute % 15 == 0 && second % 60 == 0)
|
|
|
|
|
if (Serial)
|
|
|
|
|
{
|
|
|
|
|
Serial.println("----------");
|
|
|
|
|
Serial.println("Heure : " + String(hour) + " : " + String(minute));
|
|
|
|
|
Serial.println("Visiteurs : " + String(visiteurs));
|
|
|
|
|
Serial.println("Affluence : " + String(actuel));
|
|
|
|
|
if (minute % 15 == 0 && second % 60 == 0)
|
|
|
|
|
{
|
|
|
|
|
Serial.println("----------");
|
|
|
|
|
Serial.println("Heure : " + String(hour) + " : " + String(minute));
|
|
|
|
|
Serial.println("Visiteurs : " + String(visiteurs));
|
|
|
|
|
Serial.println("Affluence : " + String(actuel));
|
|
|
|
|
}
|
|
|
|
|
if (Serial.available() > 0)
|
|
|
|
|
{
|
|
|
|
|
message = Serial.readStringUntil('\n');
|
|
|
|
|
tft.drawString("Nouveau message", 20, 175);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|