thortex / rpi3-webiopi

WebIOPi for Raspberry Pi 1, 2, 3, and zero
https://thortex.github.io/rpi3-webiopi/
Apache License 2.0
59 stars 20 forks source link

Issue #104 [New/open] - Driver for PCA9530 available #6

Closed thortex closed 8 years ago

thortex commented 8 years ago

Find attached a driver for the PCA9530 I2C chip.

To install it,

copy the attached files to the .../python/devices/analog directory
go to the root of your webiopi installation directory
execute "sudo ./setup.sh skip-apt"

For more instructions see the comments in the driver file.

In order to be able to control the PCA9530 correct with the Device Monitor, you have to update the webiopi.js file with the attached one. Just copy it to your used /htdocs directory (after renaming the original one so you keep it), no further installation is required.

Andreas

Files attached

pca9530.py
__init__.py
webiopi.js