Premier test

Dependencies:   C12832 mbed

Revision:
0:674a094baf00
diff -r 000000000000 -r 674a094baf00 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sun Mar 01 11:39:40 2015 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+#include "C12832.h"
+
+ 
+Serial GPS(p13, p14); //Pin13 TX, pin14 RX. 
+C12832 lcd(p5, p7, p6, p8, p11);
+
+int main() {
+  GPS.baud(9600);
+  unsigned char GPS_DATA;
+  lcd.cls();
+  lcd.locate(0,0);
+  lcd.printf("GPS FIX");
+  while(1){
+      if(GPS.readable()){
+        GPS_DATA=GPS.getc();
+        lcd.locate(0,15);
+        lcd.printf("%d",GPS_DATA);
+          }
+      }
+  
+ 
+  
+}
\ No newline at end of file