Laser Sensing Display for UI interfaces in the real world

Dependencies:   mbed

Fork of skinGames_forktest by Alvaro Cassinelli

Revision:
1:a4050fee11f7
Parent:
0:345b3bc7a0ea
Child:
10:6f8e48dca1bd
--- a/hardwareIO/lockin.h	Wed Mar 28 14:40:01 2012 +0000
+++ b/hardwareIO/lockin.h	Sat Mar 31 08:19:31 2012 +0000
@@ -49,7 +49,8 @@
     //void catchInterupt(uint32_t value);
     
     //variables
-    float buffer[BUFFER_SIZE];
+    float buffer[BUFFER_SIZE];  // does not need to be a float - in fact values are from 0 to 4096 (i.e., 
+    //unsigned short int buffer[BUFFER_SIZE]; // this is two bytes (0 to 65535)
     int buffer_pos;
     
     float refFrequency;     // frequency of sensing laser and lock-in (in KHz)