Includes a basic 4-bit binary counter function for the leds.

Dependents:   datalogging_RTC

Revision:
0:805b57b2dd2b
Child:
1:dbabf5266268
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ledCounter.h	Wed Jul 08 11:26:27 2015 +0000
@@ -0,0 +1,13 @@
+#ifndef LEDCOUNTER_H
+#define LEDCOUNTER_H
+
+#include "mbed.h"
+
+extern DigitalOut led1;     // allow led1 to be manipulated by other files
+extern DigitalOut led2;
+extern DigitalOut led3;
+extern DigitalOut led4;
+
+void ledCounter(int value);  // function prototype
+
+#endif
\ No newline at end of file