STM8S example code to test with I2C mems sensor - MPIU6050 (GY-521)
- Open STVD
- Navigate to file and select "Open Workspace"
- And navigate to the downloaded project file
- To test put "register_readValue" in watch window, you will get WHO_AM_I default register value in MPU6050