Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ReferredCoursework2016 by
buffer.h
00001 #ifndef BUFFER_H 00002 #define BUFFER_H 00003 #include "mbed.h" 00004 #include "rtos.h" 00005 00006 //creates struct to store accelerometer data 00007 typedef struct { 00008 int32_t x; 00009 int32_t y; 00010 int32_t z; 00011 } AccelData; 00012 00013 void log_push(AccelData data); 00014 AccelData log_get(); 00015 void print_averages(); 00016 #endif
Generated on Sat Jul 16 2022 05:47:21 by
