mirror of
https://github.com/pommi/python-itho-wpu.git
synced 2025-01-31 00:52:44 +01:00
Pim van den Berg
f989b61789
feat(itho-wpu): cli arguments to run master/slave only + set slave timeout
--master-only allows to only run the I2C master functionality. --slave-only allows to only run the I2C slave functionality. The I2C slave functionality via the "set_callback" mechanism (--type callback) just executes the pigpio "event_callback()" function and waits for 2 seconds for a response. The amount of seconds can now be configured via --slave-timeout.
python-itho-wpu
A python library and a set of command line tools to communicate with an Itho WPU.
Description
Languages
Python
100%