donperryjm
Well-known member
I have a section of code that outputs data to the USB serial, but this runs in the loop.
I want to optimize the code to prevent it from trying to spit that out to USB isn't connected.
All that concatenation forming work could be avoided in my loop.
IS there a flag to check if USB serial is connected?
I want to optimize the code to prevent it from trying to spit that out to USB isn't connected.
All that concatenation forming work could be avoided in my loop.
IS there a flag to check if USB serial is connected?