mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Update secrets.h to network and credentials (#8325)
WiFi credentials: standard macro used in examples
This commit is contained in:
parent
3f4bcbe483
commit
93b7325cb8
@ -9,5 +9,10 @@
|
|||||||
// ssid and passPhrase can be used when compiling for a specific environment as a 2. option.
|
// 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
|
// add you wifi network name and PassPhrase or use WiFi Manager
|
||||||
const char *ssid = "KHMH";
|
#ifndef STASSID
|
||||||
const char *passPhrase = "hk-2012FD2926";
|
#define STASSID "ssid"
|
||||||
|
#define STAPSK "psk"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
const char *ssid = STASSID;
|
||||||
|
const char *passPhrase = STAPSK;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user