MCU sample code to demonstrate how to access I2C device. More...
Go to the source code of this file.
Macros | |
| #define | MPU6050_ADDR 0x68 |
| #define | MPU6050_WHOAMI ((unsigned char)0x75) |
| #define | MPU6050_WHOAMI_VALUE ((unsigned char)0x68) |
Functions | |
| void | mcu_main () |
MCU sample code to demonstrate how to access I2C device.
Definition in file sample_i2c.c.
| #define MPU6050_ADDR 0x68 |
Definition at line 35 of file sample_i2c.c.
| #define MPU6050_WHOAMI ((unsigned char)0x75) |
Definition at line 37 of file sample_i2c.c.
| #define MPU6050_WHOAMI_VALUE ((unsigned char)0x68) |
Definition at line 38 of file sample_i2c.c.
| void mcu_main | ( | ) |
Definition at line 60 of file sample_i2c.c.
1.8.6