#include "stm32f10x.h" #include "MyI2C.h" #include "MySPI.h" #include "accelerometer.h" int main (void) { while(1){ accelerometre();}; }