sergiutoporjinschi / settingsmanager Goto Github PK
View Code? Open in Web Editor NEWSaving, reading and changing settings from Json file on SPIFFS
License: GNU General Public License v3.0
Saving, reading and changing settings from Json file on SPIFFS
License: GNU General Public License v3.0
Would it be possible to implement the use of a SD card instead of SPIFFS?
Thanks
call of conf.getChar("conf.onOffTopic");
call of overloaded 'getChar(const char [16])' is ambiguous
Getting a lot of warnings that SPIFFS is deprecated:
libraries/settingsmanager/src/SettingsManager.cpp:39:15: warning: 'SPIFFS' is deprecated (declared at /home/xxxxx/.arduino15/packages/esp8266/hardware/esp8266/2.7.4/cores/esp8266/FS.h:269): SPIFFS has been deprecated. Please consider moving to LittleFS or other filesystems. [-Wdeprecated-declarations]
File file = SPIFFS.open(fileName, "r");
See https://arduino-esp8266.readthedocs.io/en/latest/filesystem.html#spiffs-deprecation-warning and LittleFS for supported version.
Can anyone help me?
c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o:C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:29: multiple definition of `sm'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\Desktop\sketch_may06a/sketch_may06a.ino:4: first defined here
c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o: in function `loop':
C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:177: multiple definition of `loop'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\Desktop\sketch_may06a/sketch_may06a.ino:11: first defined here
c:/users/rener/appdata/local/arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/2.5.0-3-20ed2b9/bin/../lib/gcc/xtensa-lx106-elf/4.8.2/../../../../xtensa-lx106-elf/bin/ld.exe: libraries\settingsmanager\main.cpp.o: in function `setup':
C:\Program Files (x86)\Arduino\libraries\settingsmanager\src/main.cpp:160: multiple definition of `setup'; sketch\sketch_may06a.ino.cpp.o:C:\Users\Rener\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0\cores\esp8266/HardwareSerial.h:76: first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Generic ESP8266 Module
Should be possible to do
settings.setInt("level1.level2.level3", 23);
in case one of the level is missing should be added in the structure.
I've installed the SettingsManager successfully in Arduino IDE. When I try to upload my sketch to the Wemos D1 I'm getting following error:
Arduino/libraries/Settings_Manager/src/SettingsManager.cpp:24:25: fatal error: debug_macro.h: No such file or directory
#include "debug_macro.h"
^
compilation terminated.
exit status 1
Error compiling for board LOLIN(WEMOS) D1 R2 & mini.
I've tried to install SketchLogger from Arduino IDE, but there is no such plugin.
I found the SketchLogger on github, but I don't know how to install it manually in Arduino IDE.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.