1
0
mirror of https://github.com/pommi/python-itho-wpu.git synced 2024-12-21 18:43:27 +01:00
Go to file
Pim van den Berg ff3c705608 feat(itho-wpu): option to slave via event_callback()
Argument "--type [callback,wait]" is added to be able to switch between
"wait_for_event()" (previous functionality) and "event_callback()" in
the I2C slave functionality.

In a thread set_callback() executes event_callback() and just (very
dirty) sleeps 2 seconds to get a response or else cancels the event and
stops pigpio.

To get the most reliable output pigpiod is started with -s 2 (sample
rate 2 microseconds). Still most of the time too few bytes are received
on the "getdatalog" action (153 bytes expected).
2020-10-22 14:39:04 +02:00
i2c_raw.py feat(itho-wpu): initial i2c master functionality 2020-10-17 18:05:56 +02:00
itho-wpu.py feat(itho-wpu): option to slave via event_callback() 2020-10-22 14:39:04 +02:00
README.md docs(readme): initial commit 2020-10-16 19:17:51 +02:00

python-itho-wpu

A python library and a set of command line tools to communicate with an Itho WPU.