Move network config to it's own file not tracked by git

This commit is contained in:
Zuckerberg 2023-11-13 20:56:55 -07:00
parent ab1a1ce16e
commit cbf2e228b8
2 changed files with 11 additions and 3 deletions

6
firmware/.gitignore vendored Normal file
View File

@ -0,0 +1,6 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
src/network.h

View File

@ -3,12 +3,14 @@
#include <HTTPClient.h> #include <HTTPClient.h>
#include "eink.h" #include "eink.h"
#include "network.h"
void fetchAndDrawImage(); void fetchAndDrawImage();
const char* ssid = ""; const char *ssid = WIFI_SSID;
const char* password = ""; const char *password = WIFI_PASSWORD;
const char* serverName = "http://192.168.3.133:8080/fetchImage";
const char *serverName = "http://192.168.3.133:8080/fetchImage";
void setup() void setup()
{ {