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);
|
||||
|
||||
#ifdef ESP8266
|
||||
void toggleLED()
|
||||
{
|
||||
if (digitalRead(LED) == LOW)
|
||||
|
@ -24,6 +25,7 @@ void toggleLED()
|
|||
else
|
||||
digitalWrite(LED, LOW);
|
||||
}
|
||||
#endif
|
||||
|
||||
void setup()
|
||||
{
|
||||
|
|
Reference in a new issue