PinDetect rework, removed the continuous sampling, using just irq, timers and pin state sequence.

Fork of PinDetect by Andy K

Revision:
1:611a8f5ac65c
Parent:
0:4f4ccb203a70
Child:
2:cb3afc45028b
--- a/ChangeLog.h	Thu Jan 13 01:47:31 2011 +0000
+++ b/ChangeLog.h	Thu Jan 13 09:53:26 2011 +0000
@@ -19,6 +19,11 @@
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     THE SOFTWARE.
 
+    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
+                          in for completeness.
+    
     1.3     13 Jan 2011 - Updated some doxygen comments.
 
     1.2     13 Jan 2011 - Added ChangeLog.h file.