Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SHT20

Hierarchy

  • SHT20

Implements

Index

Constructors

constructor

  • Returns SHT20

Properties

address

address: number

commands

commands: {}

Type declaration

  • [key: string]: [number]

ioKeys

ioKeys: string[]

keys

keys: string[]

params

params: any

requiredKeys

requiredKeys: string[]

Methods

getData

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

    Parameters

    • command: [number]

    Returns Promise<number>

getDataWait

  • getDataWait(command: [number]): Promise<number>
  • Parameters

    • command: [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