just a test

Dependencies:   mbed

Fork of scoreLight_Advanced by Alvaro Cassinelli

Revision:
46:90516893793a
Parent:
44:46e25fa1669b
Child:
47:2312a8dc9658
--- a/main.cpp	Tue Apr 01 10:08:49 2014 +0000
+++ b/main.cpp	Tue Apr 01 11:34:37 2014 +0000
@@ -238,13 +238,13 @@
        // }
         if (rotaryEncoder1.CheckNew()) {
             for (int i=0; i< blobconf.numBlobs; i++) blobconf.blobArray[i]->displaySensingBuffer.setFixedThreshold(rotaryEncoder1.Get());
-            pc.printf("Fixed Threshold :%d\n", rotaryEncoder1.Get());
+            //pc.printf("Fixed Threshold :%d\n", rotaryEncoder1.Get());
             }
         
         // (3) Change additional mirror delay from rotary encoder: 
         if (rotaryEncoder2.CheckNew()) {
             for (int i=0; i< blobconf.numBlobs; i++) blobconf.blobArray[i]->displaySensingBuffer.setDelayMirrors(rotaryEncoder2.Get());
-             pc.printf("Mirror delay :%d\n", rotaryEncoder2.Get());
+            // pc.printf("Mirror delay :%d\n", rotaryEncoder2.Get());
             }
         
         
@@ -746,7 +746,9 @@
       }
     } 
     
-
+    else if (!strcmp( address[0], "showParameters" ) ) {  
+        blobconf.showParameters();
+    } 
     
  // ===================== SEND DATA MODES =======================
  
@@ -929,7 +931,6 @@
 }
 
 
-
 // ================ MISCELANEA
 
 /* EXAMPLE SEND/RECEIVE on PROCESSING: