27 lines
582 B
C++
27 lines
582 B
C++
#define ARDUINO_WATCHY_V20
|
|
#include "Face.h"
|
|
#include "Settings.h"
|
|
|
|
Face face(settings);
|
|
|
|
void setup(){
|
|
WiFiManager wm;
|
|
bool res;
|
|
Serial.begin(115200);
|
|
// res = wm.autoConnect("EulerAP","password");
|
|
wm.preloadWiFi("Marissa-mns", "wx2KpsbjG2pd");
|
|
// if(!res) {
|
|
// Serial.println("Failed to connect");
|
|
// // ESP.restart();
|
|
// }
|
|
// else {
|
|
// //if you get here you have connected to the WiFi
|
|
// Serial.println("connected...yeey :)");
|
|
// face.showSyncNTP();
|
|
// }
|
|
|
|
face.init();
|
|
}
|
|
|
|
void loop(){}
|