projet_ees_et5
Fork of TSL1401 by
Diff: TSL1401.cpp
- Revision:
- 2:a6b3b12eaaa6
- Parent:
- 1:7a8ca2147516
--- a/TSL1401.cpp Fri Jan 26 10:52:00 2018 +0000 +++ b/TSL1401.cpp Fri Mar 09 10:03:39 2018 +0000 @@ -28,8 +28,7 @@ int *TSL1401::Capture( int LineStart, int LineStop) { int i; - FastOut<p9> TAOS_SI; - FastOut<p10> TAOS_CLK; + /* DigitalOut TAOS_SI(SI); DigitalOut TAOS_CLK(CLK); @@ -37,6 +36,7 @@ Max = 0,Min = 70000; TAOS_SI_HIGH; TAOS_CLK_HIGH; + TAOS_CLK_HIGH; TAOS_SI_LOW; ImageData[0] = 0; volatile int *pp=ImageData;