Remove led from esp32
This commit is contained in:
parent
5f70efbe1e
commit
42be57d91f
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,7 @@ fw::API *firewallApi;
|
||||||
|
|
||||||
WiFiServer wifiServer(80);
|
WiFiServer wifiServer(80);
|
||||||
|
|
||||||
|
#ifdef ESP8266
|
||||||
void toggleLED()
|
void toggleLED()
|
||||||
{
|
{
|
||||||
if (digitalRead(LED) == LOW)
|
if (digitalRead(LED) == LOW)
|
||||||
|
@ -24,6 +25,7 @@ void toggleLED()
|
||||||
else
|
else
|
||||||
digitalWrite(LED, LOW);
|
digitalWrite(LED, LOW);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
|
|
Reference in a new issue