jkransen / framboos

Pure Java (Scala) implementation for accessing low-level GPIO on Raspberry Pi, BeagleBoard etc
Apache License 2.0
91 stars 20 forks source link

Hard reset #3

Closed su009 closed 11 years ago

su009 commented 11 years ago

Added functionality to force reset of a Pin.

When opening a Pin with framboos from an application that is killed before it was able to close the Pin, reopening it will cause an exception.

The static method HardReset.hardResetPin(pinNumber) will return true upon success or false if the pin was not open or does not exist.

jkransen commented 11 years ago

Thanks

su009 commented 11 years ago

Thank you for pulling :)