da testare
Dependencies: mbed
Fork of programmaACC by
header.h
- Committer:
- giuseppe_guida
- Date:
- 2018-03-30
- Revision:
- 3:c9fbf54ed265
- Parent:
- 0:7d3cc2de8dd2
- Child:
- 4:fa71806deb67
File content as of revision 3:c9fbf54ed265:
#include "mbed.h" #include <time.h> #define BLOCCO 1000 //SDFileSystem sd(SPI_MOSI, SPI_MISO, SPI_SCK, SPI_CS, "sd"); Serial pc(USBTX,USBRX,9600); typedef struct{ float x,y,z; float xx,yy,zz; //char* t; } DatiAccelerometro; DatiAccelerometro vettore[BLOCCO];