disegnovitruviano / webiopi

Automatically exported from code.google.com/p/webiopi
0 stars 0 forks source link

New driver for DS2413 added and updated version of DS2408 driver available #95

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have coded a driver for DS2413 (connecting to the kernel driver for it like 
with the other 1-wire devices) and updated the DS2408 driver.

Find the changed files attached and feel free to update trunk.

Drivers are compatible with 0.7.0 release and the latest Raspbian version of 
Jan 2014 and can be used right away by updating the files and calling setup.sh 
once again. Make sure to use that version of Raspbian, earlier versions may not 
have the needed kernel drivers included or incompatible versions of them.

Drivers have been tested with 1-wire GPIO 4 kernel module and with DS2482-100 
kernel module.

Andreas

Original issue reported on code.google.com by andreas....@googlemail.com on 11 Apr 2014 at 3:51

Attachments:

GoogleCodeExporter commented 9 years ago
I fixed some small bugs and refactored the 2408 part of the driver. Now, 90% of 
the code is within the 2408 class and only the small additions necessary to 
support the 2413 also are within that class.

This driver now implements the digital read/write concept described in issue 96 
as this proved to be much more stable when updating floating output ports from 
the device monitor.

All other info remains unchanged from my first post on this issue.

Andreas

Original comment by andreas....@googlemail.com on 30 Apr 2014 at 10:32

Attachments: