Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MQ5

Hierarchy

Implements

Index

Constructors

constructor

  • new MQ5(): MQ5

Properties

keys

keys: string[]

Optional onchangeanalog

onchangeanalog: undefined | ((voltage: number) => void)

Optional onchangedigital

onchangedigital: undefined | ((voltage: number) => void)

Optional onexceedvoltage

onexceedvoltage: undefined | ((voltage: number) => void)

params

params: any

requiredKeys

requiredKeys: string[]

Optional voltageLimit

voltageLimit: undefined | number

Methods

heatWait

  • heatWait(seconds?: undefined | number): Promise<void>
  • Parameters

    • Optional seconds: undefined | number

    Returns Promise<void>

startHeating

  • startHeating(): void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • info(): { name: string }
  • Returns { name: string }

    • name: string

Generated using TypeDoc