Pinscape Controller version 1 fork. This is a fork to allow for ongoing bug fixes to the original controller version, from before the major changes for the expansion board project.

Dependencies:   FastIO FastPWM SimpleDMA mbed

Fork of Pinscape_Controller by Mike R

Revision:
25:e22b88bd783a
Parent:
18:5e890ebd0023
Child:
35:e959ffba78fd
--- 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: