Search found 2 matches

by lucadjr
Mon Mar 23, 2020 10:51 pm
Forum: ESP32 Arduino
Topic: sd card read/write guru meditation error
Replies: 4
Views: 5315

Re: sd card read/write guru meditation error

You probably only need to do the initialization bit once, so keep that in your setup() function. As you have it now, it's called multiple times, which likely messes things up. Thx for reply! For initialization bit do you mean this? pinMode(5, OUTPUT); SPIClass SPISD; SPISD.begin(18, 19, 23, 5); //S...
by lucadjr
Sun Mar 22, 2020 12:48 pm
Forum: ESP32 Arduino
Topic: sd card read/write guru meditation error
Replies: 4
Views: 5315

sd card read/write guru meditation error

Hi!! Hi all! i started apart a project to test the sd read/write functions with succes than i created separeted functions to use in my code. void scrivi(String path, String message) { Serial.println(F("Initializing SD card...")); // On the Ethernet Shield, CS is pin 4. It's set as an output by defau...