Skip to content

Commit 8f68cef

Browse files
matiasilvakilograham
matiasilva
authored andcommitted
Clarify GPIO pins in MPU6050 example
1 parent 8f93bbc commit 8f68cef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

i2c/mpu6050_i2c/mpu6050_i2c.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
2525
Connections on Raspberry Pi Pico board, other boards may vary.
2626
27-
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is 4 (pin 6)) -> SDA on MPU6050 board
28-
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is 5 (pin 7)) -> SCL on MPU6050 board
27+
GPIO PICO_DEFAULT_I2C_SDA_PIN (On Pico this is GP4 (pin 6)) -> SDA on MPU6050 board
28+
GPIO PICO_DEFAULT_I2C_SCK_PIN (On Pico this is GP5 (pin 7)) -> SCL on MPU6050 board
2929
3.3v (pin 36) -> VCC on MPU6050 board
3030
GND (pin 38) -> GND on MPU6050 board
3131
*/

0 commit comments

Comments
 (0)