platformio / platform-raspberrypi

Raspberry Pi: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/raspberrypi
Apache License 2.0
73 stars 96 forks source link

RP2040 how to change HW default i2c pins ? #57

Open MIKHANYA opened 1 year ago

MIKHANYA commented 1 year ago

How to change default HW i2c pins on RP2040 in PlatformIO from

define PIN_WIRE0_SDA (4u)

define PIN_WIRE0_SCL (5u)

to 12 and 13 like in Arduino pins_arduino.h

[env:pico] platform = raspberrypi board = pico framework = arduino