Mouse code for the MacroRat

Dependencies:   ITG3200 QEI

Revision:
9:1d8e4da058cd
Parent:
6:3d68fedd6fd9
Child:
24:e7063765d6f0
--- a/irpair.h	Fri May 05 01:21:33 2017 +0000
+++ b/irpair.h	Sat May 06 01:31:44 2017 +0000
@@ -15,13 +15,15 @@
         
         float getSamples( int i );
         
+        float sensorAvg;
+        
     private:
         void calibrateSensor();
         
         // internal values
         DigitalOut ir;
         AnalogIn recv;
-        float sensorAvg;
+        
 };