diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index 6f1590c..386956e 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -33,6 +33,7 @@ */ #include "include/CanGrow.h" +#include "include/CanGrow_Core.h" /* * Libraries @@ -101,6 +102,7 @@ void setup() { if(digitalRead(PinWIPE) == LOW) { Serial.println("!! formatting LittleFS !!"); LittleFS.format(); + Panic(); } @@ -119,7 +121,7 @@ void setup() { if(lfs_configfile) { Serial.println(":: LittleFS: config.json successfully created ::"); // write into the file - lfs_configfile.print("{test: 2}"); + lfs_configfile.print("{test: }"); // close the file lfs_configfile.close(); }