Library for using SI1141 sensor
Fork of SI1143 by
Diff: SI1143.cpp
- Revision:
- 4:af8f820733e0
- Parent:
- 3:cb3e8160f18e
- Child:
- 5:3fadc61598bc
diff -r cb3e8160f18e -r af8f820733e0 SI1143.cpp --- a/SI1143.cpp Thu Oct 17 22:03:54 2013 +0000 +++ b/SI1143.cpp Thu Oct 17 23:23:33 2013 +0000 @@ -39,6 +39,11 @@ //3.4MHz, as specified by the datasheet, but DO NOT USE. //i2c_->frequency(3400000); + restart(); +} + +void SI1143::restart() +{ command(RESET); wait_ms(30); @@ -170,3 +175,4 @@ //return PS1; } +