library for AMS ENS210 temperature and humidity sensor
Dependents: rIoTwear-temp-humid
Diff: AMS_ENS210.cpp
- Revision:
- 4:31fbbf39d935
- Parent:
- 3:3b427231e5a7
- Child:
- 5:22b8ef3a65e1
diff -r 3b427231e5a7 -r 31fbbf39d935 AMS_ENS210.cpp --- a/AMS_ENS210.cpp Wed Jan 18 12:04:25 2017 +0000 +++ b/AMS_ENS210.cpp Thu Jan 19 11:55:39 2017 +0000 @@ -208,7 +208,7 @@ return w_bytes == (system + sensor); } -const char *AMS_ENS210::read_config(bool system, bool sensor) { +const char *AMS_ENS210::read_config(bool system, bool sensor) { // todo, maybe throw excpetion if i2c read fails? static char output[2] = {0, 0};