13 lines
204 B
C
13 lines
204 B
C
#include "stm32f10x.h"
|
|
#include "MyI2C.h"
|
|
#include "MySPI.h"
|
|
#include "accelerometer.h"
|
|
|
|
float GX, GY, GZ;
|
|
int main (void)
|
|
{
|
|
Init_accelerometre();
|
|
while(1){
|
|
Lecture_accelerometre(&GX,&GY,&GZ);
|
|
};
|
|
}
|