diff --git a/pycoax/examples/30_get_features.py b/pycoax/examples/30_get_features.py index 2d729a2..d61fccd 100755 --- a/pycoax/examples/30_get_features.py +++ b/pycoax/examples/30_get_features.py @@ -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)