voilier-team-1/keilproject/Source/Principale.c

14 lines
204 B
C
Raw Normal View History

2023-03-22 15:28:54 +01:00
#include "stm32f10x.h"
#include "MyI2C.h"
#include "MySPI.h"
#include "accelerometer.h"
2023-03-22 15:28:54 +01:00
float GX, GY, GZ;
2023-03-22 15:28:54 +01:00
int main (void)
{
Init_accelerometre();
while(1){
Lecture_accelerometre(&GX,&GY,&GZ);
};
2023-03-22 15:28:54 +01:00
}