After i run the loop again and check the console for the outcome,
i realize that the printf is runing ones every loop and the console is flooded with the debuging message.
Even if the c program stops executing, the message keeps coming
The only remedy is to recycle the power on kflop board. The problem is that sometimes im doing remote debuging and there is none to do that.
IS there another way to flush the serial buffer?
Regards.