Hi!
Anyone managed to connect an eeprom to the Raspbery Pi pico with the arduino IDE?
I've been trying to figure out how to do it but without sucesse. I have no experience with external eeproms on arduino so that might be the real problem
I have a 24LC256 conneted to gpio 4 and 5 as SDA and SCL (i belive this are the default 0 i2c Wire pins on the pico). I followed the schematic in this page to connect the Pico to the eeprom How to Connect a 24LC256 EEPROM to an Arduino
I tried some codes i found around an also some libraries exemples, but looks like i can't make anything work...
But the following statementt stressed me a little, since i plan on writing on the eeprom frequently: " Note that this is a simulated EEPROM and will only support the number of writes as the onboard flash chip, not the 100,000 or so of a real EEPROM. Therefore, do not frequently update the EEPROM or you may prematurely wear out the flash."
On this page there is an implementation to access Microchip's 24LC* series EEPROMs, in the begin() procedure with parameters you can select the I2C pins,
bool begin(uint8_t sda, uint8_t scl) for ESP32 / ESP8266 / RP2040 and alike. Initializes the I2C bus with the specified pins, thereby overruling the default pins. Furthermore it checks if the deviceAddress is available on the I2C bus. Returns true if deviceAddress is found on the bus, false otherwise.