editable
Dependents: LineCamLPC LineCamLPC
Diff: TSL_1401.h
- Revision:
- 0:82f151c23f33
diff -r 000000000000 -r 82f151c23f33 TSL_1401.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TSL_1401.h Wed Mar 28 12:28:18 2018 +0000 @@ -0,0 +1,18 @@ +#include <TSL_1401_config.h> + +class TSL_1401 +{ + public: + TSL_1401(); + ~TSL_1401(); + void scanFrame(); + void refreshLine(); + + private: + DigitalOut SI(SI_PIN); + DigitalOut CLK (CLK_PIN); + AnalogIn AO(p15); + double rawData[128]; + int line[128]; + int status; +} \ No newline at end of file