ESP32-PaxCounter/include/senddata.h
2020-01-22 15:43:13 +01:00

32 lines
461 B
C

#ifndef _SENDDATA_H
#define _SENDDATA_H
#include "spislave.h"
#include "cyclic.h"
#if(HAS_LORA)
#include "lorawan.h"
#endif
#ifdef HAS_DISPLAY
#include "display.h"
#endif
#ifdef HAS_SDCARD
#include "sdcard.h"
#endif
#if (HAS_SDS011)
#include "sds011read.h"
#endif
extern Ticker sendcycler;
void SendPayload(uint8_t port, sendprio_t prio);
void sendData(void);
void checkSendQueues(void);
void flushQueues();
void sendcycle(void);
#endif // _SENDDATA_H_