如何使用ESP8266每小时将数据发送到数据库?
我想用我的ESP8266将小时数据发送到数据库。但是,我不知道如何完全每小时发送数据。我不想使用delay()。有人可以帮我吗?
I would like to send hourly data to a database with my ESP8266. However, I don't know how to send the data exactly every hour. I don't want to use delay(). Can someone help me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是草图的骨骼,用于从Internet中带有ESP8266进入内部RTC的时间,将时间设置为Timelib,并使用Timelib的
minute()
函数在HH:00上执行某些内容。this is a skeleton of a sketch for retrieving time from Internet with the esp8266 into the internal RTC, set the time into the TimeLib and use TimeLib's
minute()
function to execute something at hh:00.