Python code to interface with grbl and dual-encoder recorder.