Skip to content

Commit

Permalink
Update secrets.h to network and credentials (#8325)
Browse files Browse the repository at this point in the history
WiFi credentials: standard macro used in examples
  • Loading branch information
mathertel authored Sep 29, 2021
1 parent 3f4bcbe commit 93b7325
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libraries/ESP8266WebServer/examples/WebServer/secrets.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
// ssid and passPhrase can be used when compiling for a specific environment as a 2. option.

// add you wifi network name and PassPhrase or use WiFi Manager
const char *ssid = "KHMH";
const char *passPhrase = "hk-2012FD2926";
#ifndef STASSID
#define STASSID "ssid"
#define STAPSK "psk"
#endif

const char *ssid = STASSID;
const char *passPhrase = STAPSK;

0 comments on commit 93b7325

Please # to comment.