nickzoic / mpy-utils

Utility programs for Micropython ...
MIT License
104 stars 23 forks source link

Speed up program execution by 4 seconds (clearing serial input buffer on initialize()) #12

Closed jeffmakes closed 6 years ago

jeffmakes commented 6 years ago

On ReplControl.initialise(), empty serial input buffer with reset_input_buffer() rather than a long busy-wait. This reduces execution time by 4 seconds