ESP32-PaxCounter/include/cyclic.h
2019-03-13 21:47:05 +01:00

25 lines
370 B
C

#ifndef _CYCLIC_H
#define _CYCLIC_H
#include "globals.h"
#include "senddata.h"
#include "rcommand.h"
#include "spislave.h"
#if(HAS_LORA)
#include <lmic.h>
#endif
#if (HAS_BME)
#include "bmesensor.h"
#endif
extern Ticker housekeeper;
void housekeeping(void);
void doHousekeeping(void);
uint64_t uptime(void);
void reset_counters(void);
uint32_t getFreeRAM();
#endif