Go Down

Topic: Clearing serial buffer solved (Read 123833 times) previous topic - next topic


Jun 10, 2018, 03:38 am Last Edit: Jun 10, 2018, 03:39 am by Delta_G
Yes, print will block if the buffer is full.  cant post the code from print.h right now but it's there. 

This is the reason Serial print from an interrupt is so dangerous.  Nothing leaves the buffer because the interrupts are off and print deadlocks waiting for room in the buffer. 
|| | ||| | || | ||  ~Woodstock

Please do not PM with technical questions or comments.  Keep Arduino stuff out on the boards where it belongs.

Go Up