InterruptIn style DigitalIn debounced with callbacks for pin state change and pin state hold. Fork of original https://os.mbed.com/users/AjK/code/PinDetect/ and modification for compatibility with MbedOS6+
Diff: ChangeLog.h
- Revision:
- 2:cb3afc45028b
- Parent:
- 1:611a8f5ac65c
- Child:
- 3:911efbcb34b2
diff -r 611a8f5ac65c -r cb3afc45028b ChangeLog.h --- a/ChangeLog.h Thu Jan 13 09:53:26 2011 +0000 +++ b/ChangeLog.h Thu Jan 13 11:09:22 2011 +0000 @@ -19,6 +19,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + 1.5 13 Jan 2011 - Made the isr() protected and made the class a friend of Ticker. + Read the previous state and store when the sample frequency is + set so that initial assert_deassert_held() isn't called at startup. + 1.4 13 Jan 2011 - Added an extra overloaded constructor that allows the DigitalIn PinMode to be passed when the the class is declared. So mode() isn't really needed but is left