ESP32-PaxCounter/include/cyclic.h
2019-10-01 18:06:49 +02:00

30 lines
419 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
#ifdef HAS_DISPLAY
#include "display.h"
#endif
extern Ticker housekeeper;
void housekeeping(void);
void doHousekeeping(void);
uint64_t uptime(void);
void reset_counters(void);
uint32_t getFreeRAM();
#endif