Skip to content

Commit

Permalink
use constexpr int istead of define for LED pin
Browse files Browse the repository at this point in the history
  • Loading branch information
hasenradball committed Nov 13, 2023
1 parent b77179a commit 45fbdc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SimpleWebServerWiFi/SimpleWebServerWiFi.ino
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#include "arduino_secrets.h"

// ==> define LED GPIO
#define LED 9
constexpr int LED {9};

// ==> please enter your sensitive data in the Secret tab/arduino_secrets.h
char ssid[] = SECRET_SSID; // your network SSID (name)
Expand Down

0 comments on commit 45fbdc5

Please sign in to comment.