mirror of
https://github.com/lowobservable/coax.git
synced 2026-05-01 05:59:27 +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)
|
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)
|
features = parse_features(ids, commands)
|
||||||
|
|
||||||
print(features)
|
print(features)
|
||||||
|
|||||||
Reference in New Issue
Block a user