I want to write a program for the STM32F303VC board that uses SPI interface to make a comunication between the MCU and the L3GD20 gyroscope and read the values of the 3 axis.
The results are always the same: x=-6.145, y=-6.149, z=-6.149 , even if I move my board. What's wrong?#include <stm32f30x.h>void GPIO_Config();void SPI_Config();uint8_t L3GD20_Read(uint8_t reg);void L3GD20_Write(uint8_t reg, uint8_t data);void L3GD20...