From b0ff63b668f8bb8db3e79ceeeb4bb37b473c02b8 Mon Sep 17 00:00:00 2001 From: Adryen DECHANDON Date: Tue, 14 May 2024 17:28:04 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'sujet'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sujet | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sujet b/sujet index aed6bbd..ef7290d 100644 --- a/sujet +++ b/sujet @@ -2,7 +2,16 @@ #include "RTC_SAMD51.h" #include "DateTime.h" - +void message(){ + String val; + val = Serial.readString(); + Serial.print(val); + if(val != NULL){ + tft.setTextColor(TFT_BLACK); + tft.setTextSize(3); + tft.drawString("Nouveau Message !", 10, 50); + } +} RTC_SAMD51 rtc; int X_MAX = 320;