Thank you very much, That solved it. I didn't know that before. With Arduino boards I never used the slash.Filenames need to be absolute. Start with a slash.
Search found 2 matches
- Thu Oct 19, 2023 8:30 am
- Forum: ESP32 Arduino
- Topic: cant' open SD card file
- Replies: 2
- Views: 4605
Re: cant' open SD card file
- Wed Oct 18, 2023 10:10 am
- Forum: ESP32 Arduino
- Topic: cant' open SD card file
- Replies: 2
- Views: 4605
cant' open SD card file
Hi,
I want to use my ESP32 board to write on my SD card. using the example that comes with the esp32 board package, all things are OK. But when I wrote my own code, It can not open the file to write in it.
#include "FS.h"
#include "SD.h"
#include "SPI.h"
bool sdInitSuccess = false;
#define ...
I want to use my ESP32 board to write on my SD card. using the example that comes with the esp32 board package, all things are OK. But when I wrote my own code, It can not open the file to write in it.
#include "FS.h"
#include "SD.h"
#include "SPI.h"
bool sdInitSuccess = false;
#define ...