📅  最后修改于: 2022-03-11 14:55:00.298000             🧑  作者: Mango
Change the pin that sda and scl are set to in the pins_arduino.h file located in
AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\2.2.0\variants\RASPBERRY_PI_PICO
change
#define PIN_WIRE_SDA (20u)
#define PIN_WIRE_SCL (19u)
(or whatever is there) to
#define PIN_WIRE_SDA (8u)
#define PIN_WIRE_SCL (9u)