Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revision:
43:1dd4cfc30788
Parent:
40:3ba2b0ea9f33
diff -r 5f21a710ebc5 -r 1dd4cfc30788 laserSensingDisplay.cpp
--- a/laserSensingDisplay.cpp	Fri Oct 18 07:25:03 2013 +0000
+++ b/laserSensingDisplay.cpp	Mon Oct 21 11:26:48 2013 +0000
@@ -7,6 +7,7 @@
 {
 // pointDisplayCounter=65535;
     runningState=false;// this is important for the FIRST time (could be better in an "init" function?).
+    displayingFinished=false;
 }
 
 void laserSensingDisplay::run()  // start the ticker on laserDisplayThread
@@ -54,6 +55,8 @@
 
     // IMPORTANT: we have to start like this:
     stateLsd=START_FIRST_OBJECT;
+    
+    displayingFinished=false;
 }
 
 bool laserSensingDisplay::isDisplayingOver()