testing forking

Dependencies:   mbed

Fork of ConsolTest by Pipeline Technology Centre

Revision:
1:860a22e395c9
Parent:
0:7f5f4575bc6f
Child:
2:7d53e9959b8f
--- a/main.cpp	Tue Jun 30 11:16:43 2015 +0000
+++ b/main.cpp	Tue Jun 30 11:23:01 2015 +0000
@@ -7,16 +7,18 @@
 float brightness = 0.0;
  
 int main() {
-    pc.printf("Press 'u' to turn LED1 brightness up, 'd' to turn it down\n");
+    pc.printf("new program");
  
     while(1) {
         if (input)
         {
             pc.printf("true");
+            wait(1);
         }
         else
         {
             pc.printf("false");
+            wait(1);
         }
  
     }