mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix default baudrate in openmv example
* Fix baudrate in openmv.py example
This commit is contained in:
parent
4c065fac6e
commit
f887659869
@ -141,7 +141,7 @@ if __name__ == '__main__':
|
|||||||
with open(sys.argv[1], 'r') as fin:
|
with open(sys.argv[1], 'r') as fin:
|
||||||
buf = fin.read()
|
buf = fin.read()
|
||||||
|
|
||||||
s = serial.Serial("/dev/openmvcam", 12000000, timeout=0.1)
|
s = serial.Serial("/dev/openmvcam", 921600, timeout=0.3)
|
||||||
init(s)
|
init(s)
|
||||||
exec_script(buf)
|
exec_script(buf)
|
||||||
tx_len = tx_buf_len()
|
tx_len = tx_buf_len()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user