更新 Dorm-Air-Conditioner-Smart-Controller.ino
This commit is contained in:
parent
e2564f8a3a
commit
d5128570e0
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user