From f37f200792444fee2f74e807acfd5be7c9180cd7 Mon Sep 17 00:00:00 2001 From: Votre Nom Date: Wed, 30 Aug 2017 10:48:11 +0400 Subject: Init repo --- GEOLOC/app/frame.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 GEOLOC/app/frame.c (limited to 'GEOLOC/app/frame.c') diff --git a/GEOLOC/app/frame.c b/GEOLOC/app/frame.c new file mode 100644 index 0000000..1908075 --- /dev/null +++ b/GEOLOC/app/frame.c @@ -0,0 +1,22 @@ +#include "frame.h" + + +void pushFrame(Frame frame){ + writeReg(REG_FIFO, frame.id); + writeReg(REG_FIFO, frame.stamp); + int i; + for(i=0;i