Autoformat Arduino code wit Arduino IDE

This commit is contained in:
Lomanic 2019-11-22 21:19:39 +01:00
parent c39d0fb24f
commit e99219cc16

View File

@ -1,9 +1,9 @@
/***
* Fuz Piedthon
* Pedestrian traffic lights, green and red, controlled over MQTT
* Board: ESP8266
*
Fuz Piedthon
Pedestrian traffic lights, green and red, controlled over MQTT
Board: ESP8266
*/
#include <Arduino.h>
@ -114,7 +114,7 @@ void messageToPiedthon(char *msg) {
digitalWrite(GPIO_ROUGE, LOW);
digitalWrite(GPIO_VERT, LOW);
break;
case '1' : // ROUGE
case '1' : // ROUGE
digitalWrite(GPIO_VERT, HIGH);
digitalWrite(GPIO_ROUGE, LOW);
break;
@ -122,7 +122,7 @@ void messageToPiedthon(char *msg) {
digitalWrite(GPIO_VERT, LOW);
digitalWrite(GPIO_ROUGE, HIGH);
break;
case '3' : // Rien
case '3' : // Rien
digitalWrite(GPIO_ROUGE, HIGH);
digitalWrite(GPIO_VERT, HIGH);
break;
@ -163,4 +163,3 @@ void loop() {
}
}
}