Jason Garner / registers

Dependents:   registers-example RedWireBridge

Revision:
0:d2d9baa1a6d8
Child:
1:0b44a0a56f92
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Timeout.h	Thu Jan 03 04:25:08 2013 +0000
@@ -0,0 +1,17 @@
+#ifndef __TIMEOUT_H_
+#define __TIMEOUT_H_
+
+#include "LPC17xx.h"
+#include "Ticker.h"
+
+// this class reuses my Ticker class, so that timer 3 can be used for when I code the InterruptIn class
+class Timeout
+{
+    Ticker ticker;
+public:
+    Timeout();
+    void attach(void (*fptr)(void), float);
+    void detach();
+};
+
+#endif
\ No newline at end of file