SdFat Low Latency logger, binaryToCsv crash

Dear All,

I usde the low latency logger to create a logger for my sensor. I am using a switch to start and stop the logdata. I would to convert binfile to Csv at the end of the log, it starts but crash early without any error. I don’t understand why, since using letters from serial as switch, it works perfectly. Can anyone help me? here attached my code

LowLatencyLogger.ino (15.5 KB)

See if this post helps you: