Markus Kalkbrenner / Mbed 2 deprecated Pinscape_Controller_Extension_Boards

Dependencies:   FastAnalogIn FastIO FastPWM SimpleDMA USBDevice mbed

Fork of Pinscape_Controller by Mike R

Revision:
25:e22b88bd783a
Parent:
18:5e890ebd0023
--- a/TSL1410R/tsl1410r.h	Wed Jun 03 18:52:22 2015 +0000
+++ b/TSL1410R/tsl1410r.h	Tue Sep 01 04:27:15 2015 +0000
@@ -5,6 +5,7 @@
  */
  
  #include "mbed.h"
+ #include "config.h"
  #include "FastIO.h"
  #include "FastAnalogIn.h"
  
@@ -119,7 +120,7 @@
     }
 
     // number of pixels in the array
-    static const int nPix = 1280;
+    static const int nPix = CCD_NPIXELS;
     
     
 private: