A godot module support serial port communication.
- Clone/Copy the repository to
godot/modules
directory, then compile godot. - The
SerialPort
class will add to godot. You can new a SerialPort object and set it's 'port', 'baudrate', 'bytesize' and so on. Then open it and communicate with your serial device. - There is an example in serial_port_example repo.