mirror of
https://github.com/lowobservable/coax.git
synced 2026-02-27 09:28:56 +00:00
attempt to read all features
This commit is contained in:
@@ -9,6 +9,9 @@ with open_example_serial_interface() as interface:
|
||||
|
||||
ids = interface.execute(commands)
|
||||
|
||||
for (a, b) in zip(commands, ids):
|
||||
print('{0:1X}'.format(a.feature_address) + ' => ' + ('{0:2X}'.format(b) if b is not None else '-'))
|
||||
|
||||
features = parse_features(ids, commands)
|
||||
|
||||
print(features)
|
||||
|
||||
Reference in New Issue
Block a user