Constructors
constructor
-
Properties
_commands
_commands: any
_regs
_regs: any
address
address: any
chip
chip: any
id
id: any
io_srclr
io_srclr: any
keys
keys: string[]
params
params: any
pwmNum
pwmNum: any
pwms
requiredKeys
requiredKeys: string[]
state
state: any
value
value: any
Methods
_preparePWM
- _preparePWM(num: any): void
-
Parameters
Returns void
duty
- duty(index: number, duty: number): void
-
Parameters
-
index: number
-
duty: number
Returns void
freq
- freq(frequency: number): void
-
Parameters
Returns void
getPWM
-
Parameters
isValidPWM
- isValidPWM(id: any): boolean
-
Parameters
Returns boolean
pulse
- pulse(index: number, pulse_width: number): void
-
Parameters
-
index: number
-
pulse_width: number
Returns void
setEnable
- setEnable(enable: boolean): void
-
Parameters
Returns void
wired
- wired(obniz: Obniz): void
-
Parameters
Returns void
writeSingleONOFF
- writeSingleONOFF(index: number, on: number, off: number): void
-
Parameters
-
index: number
-
on: number
-
off: number
Returns void
Static info
-