2018-07-31 00:00:24 +02:00
|
|
|
#ifndef _CYCLIC_H
|
|
|
|
#define _CYCLIC_H
|
2018-07-22 20:27:58 +02:00
|
|
|
|
2018-10-03 23:07:22 +02:00
|
|
|
#include "globals.h"
|
2018-10-03 00:25:05 +02:00
|
|
|
#include "senddata.h"
|
2018-11-14 22:11:23 +01:00
|
|
|
#include "rcommand.h"
|
|
|
|
#include "spislave.h"
|
2020-05-21 19:42:42 +02:00
|
|
|
#include "mqttclient.h"
|
2019-03-13 21:15:28 +01:00
|
|
|
#include "bmesensor.h"
|
2019-10-01 18:06:49 +02:00
|
|
|
#include "display.h"
|
2020-02-03 15:23:13 +01:00
|
|
|
#include "sds011read.h"
|
|
|
|
#include "sdcard.h"
|
|
|
|
|
2020-10-04 22:58:29 +02:00
|
|
|
extern Ticker housekeeper;
|
2019-03-03 00:30:57 +01:00
|
|
|
|
2020-10-04 14:29:57 +02:00
|
|
|
void setCyclicIRQ(void);
|
2018-09-21 18:23:34 +02:00
|
|
|
void doHousekeeping(void);
|
2018-07-23 13:20:06 +02:00
|
|
|
uint64_t uptime(void);
|
|
|
|
void reset_counters(void);
|
2018-12-22 14:37:47 +01:00
|
|
|
uint32_t getFreeRAM();
|
2018-07-22 20:27:58 +02:00
|
|
|
|
2019-03-11 18:09:01 +01:00
|
|
|
#endif
|