InterruptIn style DigitalIn debounced with callbacks for pin state change and pin state hold.
Dependents: AVC_20110423 SimplePIDBot Pushbutton_Debounce_Interrupt FinalProgram ... more
PinDetect change for compatilibity with KL25Z
Andy: I changed the default PinMode from PullDown to PullDefault for compatibility with KL25Z, as this board does not have PullDown available (so the library did not compile).
I just noticed that this is essentially the same pull request as the previous one by Oskar Lopez de Gamboa. Sorry for the duplicate.