|
|
|
|
|
|
|
It's time to try out the SPI driver that we wrote in the previous tutorial.
|
|
|
|
|
|
|
|
This example uses the _LIS3DSH_ accelerometer and temperature sensor that present on the STM32F407VG discovery board.
|
|
|
|
This example uses the _LIS3DSH_ accelerometer and temperature sensor that is present on the STM32F407VG discovery board.
|
|
|
|
You can find an implementation for the accelerometer and the temperature sensor in `src/shared/sensors/LIS3DSH/LIS3DSH.h`.
|
|
|
|
Here we will only consider reading the temperature data.
|
|
|
|
|
| ... | ... | |