Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Touchin.c - fix clean up in constructor before exception is thrown
When the constructor value reading times out, an exception is thrown, but the digital pin is not de-initialised. Make sure to run the clean up, so user could catch the exception and retry using the same pin.
- Loading branch information