Modify I2C Pins on Raspberry Pi Pico in Arduino IDE.
A friend of the channel asks "How can I change the SCL and SDA pins, the I2C pins on the Raspberry Pi Pico RP2040 in Arduino IDE. I find interesting issues when using Arduino IDE on one PC then another. So I have to figure out what is happening. After that, I can simply edit the pins_arduino.h file in the correct path and choose from any of the pins mapped for potential use for I2C. It turns out, at least for Windows, Arduino IDE has two differing paths to the program data.
If Arduino IDE is installed via Windows Store the path to pins_arduino.h is:
C:\Users\username\OneDrive\Documents\ArduinoData\packages\arduino\hardware\mbed_rp2040\version\variants\RASPBERRY_PI_PICO\
If the Arduino IDE is installed via downloaded installer, the path to pins_arduino.h is:
C:\Users\username\AppData\Local\Arduino15\packages\arduino\hardware\mbed_rp2040\version\variants\RASPBERRY_PI_PICO\
As an Amazon associate I earn from qualifying purchases at no additional cost to you.
Raspberry Pi Pico RP2040 microcontroller
https://amzn.to/3Vswmn9
New Raspberry Pi Pico in Arduino IDE - Arduino Mbed Core for RP2040 boards
• New Raspberry Pi Pico in Arduino IDE ...
Arduino Nano RP2040 Connect OLED Challenge
• Arduino Nano RP2040 Connect OLED Chal...
ShotokuTech / Nano_RP2040_Connect_with_OLED
https://github.com/ShotokuTech/Nano_R...
5 Pieces 0.96 Inch OLED Module 12864 128x64 Driver IIC I2C
https://www.amazon.com/gp/product/B09...
Raspberry Pi Pico Pinout
https://datasheets.raspberrypi.com/pi...
Raspberry Pi Playlist
• Raspberry Pi Playlist