updates from https://github.com/CaeruleusAqua/OttoCar-uC-v2/blob/master/Python/serial_node.py