From 467d19179967deaa4010e4fb43ec955de2400da1 Mon Sep 17 00:00:00 2001 From: Valentin Boulanger Date: Mon, 24 Oct 2022 16:06:43 +0200 Subject: [PATCH] =?UTF-8?q?R=C3=A9ception=20des=20commandes=20suite=20?= =?UTF-8?q?=C3=A0=20un=20retour=20chariot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dmxbox.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmxbox.ino b/dmxbox.ino index 6a2364d..7aaeb4c 100644 --- a/dmxbox.ino +++ b/dmxbox.ino @@ -27,7 +27,7 @@ void loop() { if(Serial.available()) { char c = Serial.read(); - if(c == '\n'){ + if(c == '\n' || c == '\r'){ traiterCommande(); chaine = ""; }