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+

Revision:
3:911efbcb34b2
Parent:
2:cb3afc45028b
--- a/ChangeLog.h	Thu Jan 13 11:09:22 2011 +0000
+++ b/ChangeLog.h	Thu Jun 09 18:17:18 2022 +0000
@@ -1,5 +1,6 @@
 /*
     Copyright (c) 2010 Andy Kirkham
+    Copyright (c) 2022 Jan Kamidra
  
     Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"), to deal
@@ -18,6 +19,9 @@
     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.
+    
+    1.6     09 Jun 2022 - Convert for compatibility with MbedOS6+
+                          FunctionPointrs were replaced with Callbacks
 
     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