Commit Graph

9 Commits

Author SHA1 Message Date
Graham Sanderson
60829a134a Make examples friendlier for non GCC compilers and fixed slave_mem_i2c.c to compile on boards without I2C pins (#336) 2023-03-10 15:41:40 -06:00
akhodeir
42ffd518c9 fix device reset in mpu6050_i2c.c (#319)
To reset the MPU6050, the device_reset bit shall be set to '1'.

reference from "MPU-6000/MPU-6050 Register Map and Descriptions"
DEVICE_RESET : When set to 1, this bit resets all internal registers to their default values. The bit automatically clears to 0 once the reset is done.
2023-02-10 09:40:01 -06:00
Emircan Gündoğdu
ad51837566 Fix typo in comment (#158) 2021-10-22 14:47:03 -05:00
matiasilva
8f68cef111 Clarify GPIO pins in MPU6050 example 2021-07-30 08:45:51 -05:00
Andrew Scheller
a5363d18a6 Fix example-names mentioned in warning messages 2021-03-03 10:12:04 -06:00
Andrew Scheller
a151ab5f87 Typo
mismatched closing-quote
2021-03-01 10:00:32 -06:00
graham.sanderson@raspberrypi.com
3e5ab5f49a fixup typos 2021-03-01 09:43:10 -06:00
graham sanderson
3c82d8aa2b fixup examples based on default pin #define-s and also support them being undefined 2021-03-01 09:43:10 -06:00
graham sanderson
46078742c7 Initial Release 2021-01-20 16:45:01 -06:00