STS_E2/AirQuality/Inc/user_data_send.h

24 lines
341 B
C

#ifndef __USER_DATA_SEND_H
#define __USER_DATA_SEND_H
#include "stm32f0xx_ll_usart.h"
#include "sensor.h"
enum TIMER_STATES{
TIMER_NONE= 0,
TIMER_SEND,
TIMER_HB
};
void SendData(uint8_t status,uint8_t time);
void SendHbData(uint8_t sensorData);
void SendDate_Lora(SensorDataTypeDef *sensorData);
#endif /* __USER_DATA_SEND_H */