davidecaminati / Domotics-Raspberry

Domotics in Python, just for fun!
GNU Lesser General Public License v3.0
11 stars 0 forks source link

Read input MCP23017 Rele Board #5

Open davidecaminati opened 11 years ago

davidecaminati commented 11 years ago

in rare case, if i read in loop the input and i toggle a relè (with 1 line in loopback with the input) the process of read crash for error in input/output. probably the problem is a electromagnetic field from 12V ac and the signal wire. i've tryed to optoisolate the input signal but problem persist.

davidecaminati commented 11 years ago

suggested workaround: read with a external process and if crash retry.. or read after have toggled the rele, no simultanely with a loop process.