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