Revision cf6f358c05db8a4e416561801bb4920d05b3bbb1 authored by Matthias J. Kannwischer on 30 July 2021, 06:14:50 UTC, committed by GitHub on 30 July 2021, 06:14:50 UTC
On my Raspberry Pi I often ran into the problem that the Pi would miss the
beginning of the serial output and then get stuck in an infinite loop trying
to reflash again and again.
By waiting a couple of hundred ms when starting up, this can be prevented.
For me this heavily improved reliability.
1 parent bf8a921
Raw File
convert_benchmarks.py
#!/usr/bin/env python3
import sys
from mupq import mupq
    
def usage():  
    print("Usage: python3 convert_benchmarks.py csv|md")
    sys.exit(1) 
 
if __name__ == "__main__":
    if len(sys.argv) != 2:
        usage()
    if sys.argv[1] == "csv": 
        converter = mupq.CsvConverter()
    elif sys.argv[1] == "md":
        converter = mupq.MarkdownConverter()
    else:
        usage()
    converter.convert()
back to top