Revision:
0:601fd83c75e0
Child:
1:9d081c7fff45
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/globaldefs.h	Wed Dec 29 09:53:24 2010 +0000
@@ -0,0 +1,18 @@
+#ifndef GLOBALDEFS_H
+#define GLOBALDEFS_H
+
+#define DOGMLCD_MHZ 5000000
+
+#ifndef ORDER
+    #define ORDER(a,b) if( a > b ) { int c = a; a = b; b = c; }
+#endif
+#ifndef BOUND
+    #define BOUND(a,b,c) if( a < b ) a = b; else if( a > c ) a = c;
+#endif
+
+const unsigned char DOGMLCD_on[] = { 1, 2, 4, 8, 16, 32, 64, 128 };
+const unsigned char DOGMLCD_off[]= { 254, 253, 251, 247, 239, 223, 191, 127 };
+
+typedef enum{ poke, wipe, inv} doggy_op;
+
+#endif
\ No newline at end of file