项目作者: kanutope

项目描述 :
Some prototypings with microboards à la Arduino, ESP8266 and Raspberry PI
高级语言: C++
项目地址: git://github.com/kanutope/prototyping.git
创建时间: 2020-02-27T10:05:31Z
项目社区:https://github.com/kanutope/prototyping

开源协议:MIT License

下载


prototyping

Some prototyping with microboards à la Arduino, ESP8266 and Raspberry PI.
Exploring and investigating the integration with Mosquitto MQTT broker and Home Assistant.

modules

Periodics

  • Purpose
    manages an array of interval periods to support the execution of recurrent events on a regular, polled basis. Application: Arduino and alikes.

  • Use case
    Want to be able to execute various functions at different intervals - without the use of timer(s) and associated interrupt(s). E.g. you want to poll an NTP server every 10 minutes, while reading a sensor every 30 seconds. And you don’t want to jeopardize the Wifi servicing functionality of the Wifi module (ESP8266).

roundRobin

  • Purpose
    This class manages a series of records (structures), round robin wise:

    • new records are added up until the entire buffer is in use
    • after which space is being reused, on a FIFO basis.
  • Application
    Keeping a datalogger in memory - e.g. sensor values.