Use secrets.h
This commit is contained in:
parent
84504b052f
commit
aff5a6d5b2
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*__pycache__*
|
||||
secrets.h
|
||||
.*.swp
|
||||
.*.swo
|
||||
build.py
|
|
@ -1,7 +1,5 @@
|
|||
#include <ESP8266WiFi.h>
|
||||
|
||||
const char* ssid = "sendepunkt";
|
||||
const char* password = "";
|
||||
#include "secrets.h"
|
||||
|
||||
void setup() {
|
||||
pinMode(12, OUTPUT); // relay
|
||||
|
@ -15,7 +13,7 @@ void setup() {
|
|||
|
||||
WiFi.mode(WIFI_STA);
|
||||
WiFi.begin(ssid, password);
|
||||
|
||||
|
||||
while (WiFi.status() != WL_CONNECTED) {
|
||||
digitalWrite(13, !digitalRead(13));
|
||||
delay(500);
|
||||
|
|
Loading…
Reference in a new issue