17 lines
196 B
C
17 lines
196 B
C
#include "stm32f10x.h"
|
|
#include "Timer.h"
|
|
|
|
typedef struct
|
|
{
|
|
float gX;
|
|
float gY;
|
|
float gZ;
|
|
|
|
}XYZ;
|
|
|
|
void rouli_InitAccel(void);
|
|
|
|
void rouli_GetAccel (XYZ * axe);
|
|
|
|
void rouli_IT_Bascule(void);
|
|
|