im using the IO pi plus for detecting some digital signals (0v = low, 5V = High) on a Input from a E-Stop Switch. Programming language is Python 2.7.
See Picture at: http://www.bilder-upload.eu/show.php?file=dac8e6-1468232550.png
For reading and writing to the IO pi plus im using the Python files from ABElectronics. The Port wehre im reading the signal is configured as "Input" and the pullup resistors are enabled.
Now the Problem:
Reading the Pin status is working properly when i toggle the E-stop Switch for some time. But when the Estop was pressed a few times my software crashes with the Error: IOError: [Errno 110] Connection timed out.
Click this link for a picture: http://www.bilder-upload.eu/show.php?file=79fff0-1468229074.png
If this error is occurred once i am my software i can't read or write to any device on the i2c bus and have to switch off the power supply of the Raspberry Pi. A normal software reboot of the Pi doesn't fix this error.
Do you know a solution for this Error?