Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IRSensor

Hierarchy

  • IRSensor

Implements

Index

Constructors

constructor

  • Returns IRSensor

Properties

cutTail

cutTail: boolean = false

dataInverted

dataInverted: boolean = true

dataSymbolLength

dataSymbolLength: number = 0.07

duration

duration: number = 500

keys

keys: string[]

ondetect

ondetect: ((array: number[]) => void) | null = null

output_pullup

output_pullup: boolean = true

params

params: any

requiredKeys

requiredKeys: string[]

triggerSampleCount

triggerSampleCount: number = 16

Methods

start

  • start(callback?: undefined | ((array: number[]) => void)): void
  • Parameters

    • Optional callback: undefined | ((array: number[]) => void)

    Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

  • Returns ObnizPartsInfo

Generated using TypeDoc