Newhaven 320x240 LCD

Dependencies:   mbed

Revision:
3:1cf3ec6c70d7
Parent:
0:c8893901ef8a
Child:
4:aa6dc362b462
--- a/main.cpp	Sun Feb 27 21:40:59 2011 +0000
+++ b/main.cpp	Sun Feb 27 23:30:14 2011 +0000
@@ -1,23 +1,23 @@
-#include "mbed.h"
-#include "newhaven.h"
-
-BusInOut  MyBus(p8,p9,p10,p11,p12,p13,p14,p15);
-NHLCD   MyLCD(p5,p6,p7,p16,p17,&MyBus);
-
-int main() {
-    int i;
-    MyLCD.Init();
-    MyLCD.clearScreen();
-    wait(.5);
-    while(1)
-    {
-    MyLCD.text("Hello World!", 10, 1);
-    wait(1);
-    for(i = 0; i < 20; i++){
-        MyLCD.setPixel(i,i);
-    }
-    wait(1);
-    MyLCD.clearScreen();
-    wait(1);
-    }
-}
+#include "mbed.h"
+#include "newhaven.h"
+
+BusInOut  MyBus(p8,p9,p10,p11,p12,p13,p14,p15);
+NHLCD   MyLCD(p5,p6,p7,p16,p17,&MyBus);
+
+int main() {
+    int i;
+    MyLCD.Init();
+    MyLCD.clearScreen();
+    wait(.5);
+    while(1)
+    {
+        MyLCD.text("Hello World!", 10, 1);
+        wait(1);
+        for(i = 0; i < 20; i++){
+            MyLCD.setPixel(i,i);
+        }
+        wait(1);
+        MyLCD.clearScreen();
+        wait(1);
+    }
+}