pi4j-v1 icon indicating copy to clipboard operation
pi4j-v1 copied to clipboard

shutdown problem with pcf.PCF8574GpioProvider

Open HarryHpd opened this issue 8 years ago • 0 comments

Hi, I am using 1.2-SNAPSHOT via Maven in Eclipse.

With my pcf.PCF8574GpioProvider Pins I observe the problem that after ending my App via Ctrl-C, the shutdown hook will try to shutdown these Pins but leaves them in an unpredictable state.

This might be a side affect of timing issues I found as well for these pins. Firing several "gpio.setState(true,myOutput);" commands in my app will not work properly unless I pause for eg. 100 ms between these commands.

HarryHpd avatar Nov 06 '17 09:11 HarryHpd