stageIFREMER/GEOLOC/app/frame.h
2017-08-30 10:48:11 +04:00

21 lines
319 B
C

#ifndef frame_h
#define frame_h
#define FRAME_SIZE 10
#define FRAME_DATA_SIZE 8
#include "../lib/types.h"
#include "../lib/dragino.h"
#include "../lib/config.h"
typedef struct Frame Frame;
struct Frame {
byte id;
byte stamp;
byte data[FRAME_DATA_SIZE];
};
void pushFrame(Frame frame);
Frame pullFrame();
#endif