mirror of
https://github.com/lowobservable/coax.git
synced 2026-01-31 22:22:08 +00:00
13 lines
294 B
Python
Executable File
13 lines
294 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from common import create_serial, create_interface
|
|
|
|
with create_serial() as serial:
|
|
interface = create_interface(serial, reset=False, poll_flush=False)
|
|
|
|
print('Resetting interface...')
|
|
|
|
version = interface.reset()
|
|
|
|
print(f'Firmware version is {version}')
|