Skip to main content
2 of 5
added 58 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, 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