Mirror with some correction

Dependencies:   mbed FastIO FastPWM USBDevice

Revision:
48:058ace2aed1d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/pinscape.h	Fri Feb 26 18:42:03 2016 +0000
@@ -0,0 +1,15 @@
+// Global definitions
+
+#ifndef PINSCAPE_H
+#define PINSCAPE_H
+
+// custom malloc - includes diagnostics if we run out of memory
+void *xmalloc(size_t siz);
+
+// diagnostic LED display
+void diagLED(int r, int g, int b);
+
+// count of elements in array
+#define countof(x) (sizeof(x)/sizeof((x)[0]))
+
+#endif