Members
(inner, constant) Unit
Properties:
Name | Type | Description |
---|---|---|
Celcius |
Celcius |
|
Fahrenheit |
Fahrenheit |
|
Kelvin |
Kelvin |
Type Definitions
ReadConfig :Object
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
unit |
Unit |
<optional> |
0 |
The measurement unit to use, defaults to Celcius. |
channels |
Number |
<optional> |
0 |
The number of channels to read, defaults to all (0). |
ambient |
Boolean |
<optional> |
false |
Whether to take ambient (true) or directional (false) readings. |
Reading :Object
Properties:
Name | Type | Description |
---|---|---|
channel |
Number |
The channel this reading came from. |
value |
Number |
The temperature value. |