juhasch / pyBusPirateLite

Python library for BusPirate
https://pybuspiratelite.readthedocs.io/en/latest/
Other
58 stars 33 forks source link

base: Prevent tab-completion side effects for adc_value() #19

Closed HansAnderson closed 5 years ago

HansAnderson commented 5 years ago

When using the interactive Python shell, tab-completion will call properties. Since adc_value() is only valid in bitbang mode, an error should be raised to stop corrupting the BusPirate state.

juhasch commented 5 years ago

Thanks, makes sense.