Réception des commandes suite à un retour chariot

This commit is contained in:
2022-10-24 16:06:43 +02:00
parent 1dccf7577a
commit 467d191799

View File

@@ -27,7 +27,7 @@ void loop() {
if(Serial.available())
{
char c = Serial.read();
if(c == '\n'){
if(c == '\n' || c == '\r'){
traiterCommande();
chaine = "";
}