Preparing search index...
The search index is not available
node-sht20
node-sht20
SHT20
Class SHT20
Hierarchy
SHT20
Index
Constructors
constructor
Properties
address
bus
i2c
Scan
wire
Methods
i2c
Read
i2c
Write
read
read
Humidity
read
Temperature
scan
Constructors
constructor
new SHT20
(
options
?:
SensorOptions
)
:
SHT20
Parameters
options:
SensorOptions
= {}
Returns
SHT20
Properties
Private
Readonly
address
address
:
number
Private
Readonly
bus
bus
:
number
Private
Readonly
i2c
Scan
i2c
Scan
:
(
(
)
=>
Promise
<
number
[]
>
)
Type declaration
(
)
:
Promise
<
number
[]
>
Returns
Promise
<
number
[]
>
Private
Readonly
wire
wire
:
I2CBus
Methods
Private
i2c
Read
i2c
Read
(
length
:
number
)
:
Promise
<
Buffer
>
Parameters
length:
number
Returns
Promise
<
Buffer
>
Private
i2c
Write
i2c
Write
(
cmd
:
number
)
:
Promise
<
void
>
Parameters
cmd:
number
Returns
Promise
<
void
>
read
read
(
)
:
Promise
<
{
humidity
:
Humidity
;
temperature
:
Temperature
;
}
>
Returns
Promise
<
{
humidity
:
Humidity
;
temperature
:
Temperature
;
}
>
read
Humidity
read
Humidity
(
)
:
Promise
<
Humidity
>
Returns
Promise
<
Humidity
>
read
Temperature
read
Temperature
(
)
:
Promise
<
Temperature
>
Returns
Promise
<
Temperature
>
scan
scan
(
)
:
Promise
<
unknown
[]
>
Returns
Promise
<
unknown
[]
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
node-
sht20
SHT20
constructor
address
bus
i2c
Scan
wire
i2c
Read
i2c
Write
read
read
Humidity
read
Temperature
scan
Generated using
TypeDoc