Harsha version of uLCD gauges

Dependencies:   4DGL-uLCD-SE mbed uLCD_gauges

Revision:
0:a51f64464f0a
diff -r 000000000000 -r a51f64464f0a main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Mar 12 18:19:35 2015 +0000
@@ -0,0 +1,27 @@
+#include "mbed.h"
+//#include "uLCD_4DGL.h"  //Not needed because it's include in uLCD_gauges. It's lack of a define guard requires it to only be included once.
+#include "uLCD_gauges.h"
+ 
+uLCD_4DGL uLCD(p9,p10,p11); // serial tx, serial rx, reset pin;
+uLCD_gauges gauge(uLCD, 1, 90);
+ 
+int main()
+{
+    /*
+    uLCD.cls();
+    uLCD.media_init();
+    uLCD.set_sector_address(0,0);
+    */
+    gauge.start();
+    int i = 1;    
+    // Now make a class that lets you setup the gauge. Make it take a pointer to the uLCD instance?
+    while (1) {
+        if(i == 0) i = 1;
+        //uLCD.display_frame(0,0,i);
+        gauge.update(float(i));
+        wait(0.05);
+        i++;
+        i = i%90;
+    }
+    
+}
\ No newline at end of file