2020-05-31 08:46 AM
Hello to all. I am completely new to stm8. I want to communicate stm8s003 with mpu6050 6-axis gyroscope and accelerometer sensor through i2c. Can anyone help me how to code it in st visual develop?
Sorry for my bad English
2020-05-31 11:47 AM
What drove your choice of STM8?
Decompose the problem into steps, might not be able to find exact solutions/examples when you get too specific.
http://embedded-lab.com/blog/starting-stm8-microcontrollers/26/
Start by understanding I2C on your MCU, then use the data sheet / manual for the attached part to access the values/registers within it.