更新 Dorm-Air-Conditioner-Smart-Controller.ino

This commit is contained in:
spdis 2025-07-23 21:00:26 +08:00
parent e2564f8a3a
commit d5128570e0

View File

@ -1,11 +1,14 @@
//使用preferences作为数据持久化方案,类似于本项目的数据库 //使用preferences作为数据持久化方案,类似于本项目的数据库
#include <Preferences.h> #include <Preferences.h>
#include "DHT11control.h" #include "DHT11control.h"
#include "RTC_Module.h" #include "RTC_Module.h"
#include <RtcDS1302.h> #include <RtcDS1302.h>
#include "LunarCalendarAndHolidayJudge.h"
ThreeWire myWire(4,5,2); ThreeWire myWire(4,5,2);
RtcDS1302<ThreeWire> Rtc(myWire); RtcDS1302<ThreeWire> Rtc(myWire);