da testare
Dependencies: mbed
Fork of programmaACC by
header.h@4:fa71806deb67, 2018-04-25 (annotated)
- Committer:
- NdA994
- Date:
- Wed Apr 25 11:59:37 2018 +0000
- Revision:
- 4:fa71806deb67
- Parent:
- 3:c9fbf54ed265
ProgrammaACC_daTestare;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
giuseppe_guida | 0:7d3cc2de8dd2 | 1 | #include "mbed.h" |
giuseppe_guida | 0:7d3cc2de8dd2 | 2 | #include <time.h> |
NdA994 | 4:fa71806deb67 | 3 | #define BLOCCO 10 |
giuseppe_guida | 3:c9fbf54ed265 | 4 | |
giuseppe_guida | 3:c9fbf54ed265 | 5 | Serial pc(USBTX,USBRX,9600); |
giuseppe_guida | 0:7d3cc2de8dd2 | 6 | |
giuseppe_guida | 0:7d3cc2de8dd2 | 7 | typedef struct{ |
giuseppe_guida | 0:7d3cc2de8dd2 | 8 | float x,y,z; |
giuseppe_guida | 3:c9fbf54ed265 | 9 | float xx,yy,zz; |
giuseppe_guida | 3:c9fbf54ed265 | 10 | //char* t; |
giuseppe_guida | 0:7d3cc2de8dd2 | 11 | } DatiAccelerometro; |
giuseppe_guida | 0:7d3cc2de8dd2 | 12 | |
giuseppe_guida | 3:c9fbf54ed265 | 13 | DatiAccelerometro vettore[BLOCCO]; |