aboutsummaryrefslogtreecommitdiff
path: root/GEOLOC/app/frame.h
blob: 27a76cf001122419905419175aacbe817aa85159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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