Define command from python to Arduino

refer doc/PythonSerialAPI.md