cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the on-board accelerometer for beginners?

AUbar.1
Associate

Hello ST users,

I am a beginner embedded coder (Embedded C coder) and i wanna know how do i use the on-board accelerometer of the stm32f4discovery board. I have learnt SPI and I2C and i guess that works on one of these. Please Help

I would really appreciate a quick answer...✔✔

Aditya.

1 REPLY 1
KnarfB
Principal III

You like what you write, thats great :)

The is a demo: https://github.com/STMicroelectronics/STM32CubeF4/tree/master/Projects/STM32F4-Discovery/Demonstrations. This should also be on your disk somewhere under (Windows: %USERPROFILE%\STM32Cube\Repository\) after you downloaded the F4 firmware package. If you use STM32CubeIDE, double-click SW4STM32\STM32F4-DISCO\.project to include the project.