Skip to main content
3 of 5
added 7 characters in body
M. B.
  • 11
  • 2

"File outputFile = SD.open(LOG_FILE, FILE_WRITE);"

With Arduino PCB, FILE_WRITE append the data

With ESP32 pcb, V 3.1.1 FILE_WRITE overwrite the data. FILE_APPEND append data

"File outputFile = SD.open("/LOG_FILE", FILE_APPEND);" Note: "/LOG_FILE" for Linux "\LOG_FILE" for Windows

M. B.
  • 11
  • 2