Library for using SI1141 sensor
Fork of SI1143 by
Diff: SI1143.h
- Revision:
- 9:31d4e955ee92
- Parent:
- 5:3fadc61598bc
--- a/SI1143.h Tue May 20 21:33:31 2014 +0000 +++ b/SI1143.h Fri May 23 21:34:54 2014 +0000 @@ -197,6 +197,10 @@ */ int get_ps1(int repeat); + void start_ps_auto(); + + int read_ps1(); + /** * Takes a number of samples from the proximity of led2 and returns a raw output. * @@ -231,6 +235,8 @@ */ int get_ir(int repeat); + void clear_int(); + private: I2C* i2c_;