Options
All
  • Public
  • Public/Protected
  • All
Menu

Class M5StickC_ADC

Hierarchy

  • M5StickC_ADC

Implements

Index

Constructors

constructor

  • Returns M5StickC_ADC

Properties

address

address: number

config

config: any

config_regs

config_regs: any

conversionDelay

conversionDelay: number

dataRate

dataRate: number

keys

keys: string[]

mode

mode: number

os

os: number

params

params: any

pga

pga: number

requiredKeys

requiredKeys: string[]

Methods

getVoltageWait

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

setGain

  • setGain(gain: number): void
  • Parameters

    • gain: number

    Returns void

setMode

  • setMode(mode: string): void
  • Parameters

    • mode: string

    Returns void

setRate

  • setRate(dataRate: number): void
  • Parameters

    • dataRate: number

    Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc