You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Farm-Data-Relay-System/fdrs_types.h

17 lines
292 B
C

#ifndef __FDRS_TYPES_H__
#define __FDRS_TYPES_H__
typedef struct __attribute__((packed)) DataReading {
float data;
uint16_t id;
uint8_t type;
} DataReading;
typedef struct{
DataReading buffer[256];
uint16_t len = 0;
uint32_t time = 0;
} DataReadingBuffer_t;
#endif