Fix spelling in mqtt_esp8266 example
This commit is contained in:
parent
54be6e87db
commit
a1cfd5af56
@ -74,7 +74,7 @@ void callback(char* topic, byte* payload, unsigned int length) {
|
||||
if ((char)payload[0] == '1') {
|
||||
digitalWrite(BUILTIN_LED, LOW); // Turn the LED on (Note that LOW is the voltage level
|
||||
// but actually the LED is on; this is because
|
||||
// it is acive low on the ESP-01)
|
||||
// it is active low on the ESP-01)
|
||||
} else {
|
||||
digitalWrite(BUILTIN_LED, HIGH); // Turn the LED off by making the voltage HIGH
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user