hello there
Is there a way to redirect note card debug messages to an SD card?
till now i used the serial monitor for debug messages (using: (notecard.setDebugOutputStream(Serial); . but now, I have a need to monitor what happend when I am not connected to the computer and see in retrospect things..
Thank you very much
elyasaf
Hi @elyasaf,
There isn’t a way to do this out of the box (meaning it’s not directly supported in note-arduino). However, the setDebugOutputStream() method doesn’t care where the messages go, it just passes them to whatever NoteLog implementation you give it.
If you want the exact same Notecard debug output to go to an SD card instead of Serial, you need to provide a custom NoteLog that writes to the SD card. Honestly, this might be a good AI code gen exercise to try out since the note-arduino library is fully open source.
Rob