mirror of
https://github.com/lowobservable/coax.git
synced 2026-02-27 09:28:56 +00:00
x
This commit is contained in:
@@ -9,4 +9,5 @@ with open_example_serial_interface() as interface:
|
||||
|
||||
terminal_id = interface.execute(ReadTerminalId())
|
||||
|
||||
print('{0:02X}'.format(terminal_id.value))
|
||||
print(terminal_id)
|
||||
|
||||
@@ -56,3 +56,9 @@ with open_example_serial_interface() as interface:
|
||||
buffer = bytes(range(0xc0, 0xff + 1))
|
||||
|
||||
interface.execute(WriteData(buffer))
|
||||
|
||||
print('xxx')
|
||||
|
||||
interface.execute([LoadAddressCounterHi(0), LoadAddressCounterLo(79)])
|
||||
|
||||
interface.execute(WriteData(bytes[0xff]))
|
||||
|
||||
Reference in New Issue
Block a user