Files
lowobservable.coax/pycoax/examples/30_get_features.py
2021-10-16 12:19:13 -05:00

15 lines
315 B
Python
Executable File

#!/usr/bin/env python
from common import open_example_serial_interface
from coax import read_feature_ids, parse_features
with open_example_serial_interface() as interface:
commands = read_feature_ids()
ids = interface.execute(commands)
features = parse_features(ids, commands)
print(features)