Rube Goldberg machine

Dependencies:   4DGL-uLCD-SE mbed PinDetect

Revision:
3:f108df5ad90b
Parent:
2:2bb8f06b7924
Child:
4:c38d2a1fb99d
--- a/main.cpp	Sun Sep 25 00:19:53 2016 +0000
+++ b/main.cpp	Sun Sep 25 00:27:45 2016 +0000
@@ -51,10 +51,12 @@
 {
     t.start();              //start timer
     uLCD.cls();             //prepare screen
-    uLCD.baudrate(3000000);
+    //uLCD.baudrate(3000000);
     wait(.1);               //wait just in case
-    uLCD.printf("pls1");    //debug
-    uLCD.printf("pls2");
+    uLCD.locate(0,0);
+    uLCD.color(WHITE);
+    uLCD.printf("pls1\n");    //debug
+    uLCD.printf("pls2\n");
     begin.mode(PullUp);     //attach interrupt
     wait(.01);             //setup delay
     begin.attach_deasserted(&stopper);