Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SHT31

Hierarchy

  • SHT31

Implements

Index

Constructors

constructor

  • Returns SHT31

Properties

address

address: number

commands

commands: any

ioKeys

ioKeys: string[]

io_adr

io_adr: PeripheralIO

keys

keys: string[]

params

params: any

requiredKeys

requiredKeys: string[]

waitTime

waitTime: {}

Type declaration

  • [key: string]: number

Methods

getAllWait

  • getAllWait(): Promise<{ humidity: number; temperature: number }>
  • Returns Promise<{ humidity: number; temperature: number }>

getData

  • getData(): Promise<number[]>
  • deprecated

    Returns Promise<number[]>

getDataWait

  • getDataWait(): Promise<number[]>
  • Returns Promise<number[]>

getHumdWait

  • getHumdWait(): Promise<number>
  • Returns Promise<number>

getHumidWait

  • getHumidWait(): Promise<number>
  • Returns Promise<number>

getTempWait

  • getTempWait(): Promise<number>
  • Returns Promise<number>

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc