Implement sensor fusion algorithm based on LSM9DS1 IMU.
Fork of LSM9DS1_project by
Diff: AS5145.cpp
- Revision:
- 2:c889fecf9afe
- Parent:
- 1:b1562831bbaf
diff -r b1562831bbaf -r c889fecf9afe AS5145.cpp --- a/AS5145.cpp Wed Dec 20 15:45:02 2017 +0000 +++ b/AS5145.cpp Tue Apr 24 15:13:58 2018 +0000 @@ -3,7 +3,7 @@ SPI spi(PB_15,PB_14,PB_13); SPI spi2(PC_12,PC_11,PC_10); DigitalOut CS(PB_1); -DigitalOut CS2(PA_14); +DigitalOut CS2(PA_13); int position[2] = {0,0}; int position_old[2] = {0,0};