If I unplug the USB cable while my code is running, calls to SerialUSB.print hang the code.
I'm curious if anyone has found their way around this. I tried using if(SerialUSB) to check if USB was present before printing, but there was no change.
If I unplug the USB cable while my code is running, calls to SerialUSB.print hang the code.
I'm curious if anyone has found their way around this. I tried using if(SerialUSB) to check if USB was present before printing, but there was no change.
I've noticed this as well. Have you made any progress? This will be a problem for me later, but right now I'm just dealing with it.