from collections import OrderedDict

def reset():
    settings = OrderedDict()
    ser = None
    dstat_version = None
    firmware_version = None
    board_instance = None

settings = OrderedDict()
ser = None
dstat_version = None
firmware_version = None
board_instance = None