Init repo

This commit is contained in:
Votre Nom 2017-08-30 10:48:11 +04:00
commit f37f200792
31 changed files with 1341 additions and 0 deletions

21
GEOLOC/app/frame.h Normal file
View file

@ -0,0 +1,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