[SOLVED]Flush serial input buffer

Sure here it is with description.

https://forum.arduino.cc/index.php?topic=543256.msg3727495#msg3727495