mirror of
https://github.com/openmv/openmv.git
synced 2025-09-26 23:09:13 +08:00
5 lines
168 B
Python
Executable File
5 lines
168 B
Python
Executable File
#!/usr/bin/env python
|
|
import sys, serial, struct
|
|
port = "/dev/ttyACM0"
|
|
serial.Serial(port, baudrate=1200, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE).close()
|