You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1006,6 +1006,16 @@ Each sensor class may expose additional methods.
1006
1006
void sendSMS(const char* text);
1007
1007
~~~
1008
1008
1009
+
* SensorMCP9808
1010
+
~~~c
1011
+
// set I2C address (default: 0x18)
1012
+
voidsetI2CAddress(uint8_t i2caddress);
1013
+
// set temperature resolution (default: 3)
1014
+
void setResolution(uint8_t resolution);
1015
+
// sleep sensor after measurment (default: true)
1016
+
void setSleep(bool value);
1017
+
~~~
1018
+
1009
1019
### OTA Configuration
1010
1020
1011
1021
When `NODEMANAGER_OTA_CONFIGURATION` is set to ON the API presented above can be also called remotely through `SensorConfiguration`, which is automatically added to NodeManager. SensorConfiguration exposes by default child id 200 that can be used to interact with the service by sending `V_CUSTOM` type of messages and commands within the payload. For each `REQ` message, the node will respond with a `SET` message if successful.
0 commit comments