Raspberry Pi pico RP 2040 as SAMD device

I have tested Raspberry Pi pico RP 2040 with eeprom_clear.ino and eeprom_writep.ino (a modified by me test program what write data from 30 up to 285 instead of temperature values measured from analog input.) After turn off the power of Raspberry Pi pico rev 3 board and load eeprom_read.ino I got back the loaded values. So the Raspberry Pi pico rev 3 board works as SAMD device, but in he TS_DisplayCalibrate.ino I could not find the right kind of Board if I #include FlashStorage_SAMD.h>
Is exist the right program that handle this Board the right way to use TS_DisplayCalibrate.ino full feature?

Your topic has been moved. Please do not post in "Uncategorized";m see the sticky topics in Uncategorized - Arduino Forum.

what are eeprom_clear.ino and eeprom_writep.ino?

there is no chance FlashStorage_SAMD would work with RP2040

EDIT: I see those are examples of the RP2040 platform's EEPROM library

Why do you need to use RP2040 "as SAMD device"? The board has its own EEPROM and Flash Storage libraries and don't need to emulate the other board.

@antal_peter although you can assume the forum helpers are knowledgeable about Arduino/C++/electronics in general, you should not assume the forum helpers have any knowledge about the specifics of your project. You must provide sufficient information about your project in order to get effective assistance here.

As @Juraj already pointed out, we don't automatically know what "eeprom_clear.ino" and "eeprom_writep.ino" are. Just the same, we also don's automatically know what you are referring to by "TS_DisplayCalibrate.ino". We shouldn't have to go searching the Internet to find this information and then make possibly erroneous assumptions based on what we find. You know very well what "TS_DisplayCalibrate.ino" is, so it is disrespectful that you don't make the effort to provide that information to the people who are trying to provide you with free assistance.

The original TS_DisplayCalibrate file I use is:

In this file the Flash settings based on SAMD device what is not my case. How can I simple transform tis ino file to to capable to handle Raspberry Pi Pico board with XPT2046_Touchscreen and Adafruit_ILI9341 based 2.8 TFT 240x320 color display board?

It seems to be a modified library. Why didn't you ues an original:

Because the original example does not include the calibration method and, does not store as well

You have to rewrite the EEPROM read and write functions in this code using a RP2040 EEPROM library/ See the examples in the RP2040 package

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.