I have a lot of trouble writing my own code.
I use models (RNTs for example) which I tinker with with varying degrees of success.
Recently, one of my “SD card” models using the mySD.h library gave a compilation error which I ended up solving by replacing before setup()
File dataFile; by
Can you explain to me ?
Many thanks in advance
Does that happen in all examples? Or just one particular example?
I’m afraid we don’t use the mySD.h library in any of our tutorials.
What specific examples are you following?
Using SD cards has always caused me a lot of trouble. At the same time I use TFT displays which also use (v)SPI communication. I achieved this by using the mySD.h library which makes the h(SPI) port easily accessible.
I tried to do the same thing with the SD.h library and your article (https://randomnerdtutorials.com/esp32-spi-communication-arduino/#more-113804) but it doesn’t work. It’s true that you do not use mySD.h in your articles. I didn’t realize it.