mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
19 lines
609 B
C
19 lines
609 B
C
// Secrets for your local home network
|
|
|
|
// This is a "hard way" to configure your local WiFi network name and passphrase
|
|
// into the source code and the uploaded sketch.
|
|
//
|
|
// Using the WiFi Manager is preferred and avoids reprogramming when your network changes.
|
|
// See https://homeding.github.io/#page=/wifimanager.md
|
|
|
|
// 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
|
|
#ifndef STASSID
|
|
#define STASSID "ssid"
|
|
#define STAPSK "psk"
|
|
#endif
|
|
|
|
const char *ssid = STASSID;
|
|
const char *passPhrase = STAPSK;
|