ConfigDB:在“ EEPROM”内存中存储配置的快速方法(NodeMCU esp8266 12e)

时间:2021-05-01 21:40:16
【文件属性】:
文件名称:ConfigDB:在“ EEPROM”内存中存储配置的快速方法(NodeMCU esp8266 12e)
文件大小:35KB
文件格式:ZIP
更新时间:2021-05-01 21:40:16
arduino esp8266 nodemcu esp32 eeprom 配置数据库 将配置数据存储在“ EEPROM”存储器中的快速方法(NodeMCU / esp8266 12e) 问题 在EEPROM中保存数据结构可能很复杂。 创建该库的目的是为了便于将配置保存在EEPROM存储器中 使用步骤: 要使用该库,应跳转定义自己的配置类(在示例中,我将MyConfiguration类制成) 简单的例子 此代码显示了保存和获取配置数据的示例。 # include < math.h > # include < configdb> /* * The custom MyConfiguration class * */ class MyConfiguration { public: int intValue; float floatValue; }; ConfigDB configDB; bool prin
【文件预览】:
ConfigDB-master
----README.md(2KB)
----library.properties(447B)
----examples()
--------simple_example()
----LICENSE(1KB)
----library.json(452B)
----src()
--------configdb.h(2KB)
----media()
--------serial_output.png(31KB)

网友评论