Constructors
constructor
-
Properties
_offset
_offset: any
_scale
_scale: any
dout
keys
keys: string[]
obniz
params
params: any
requiredKeys
requiredKeys: string[]
sck
spi
Methods
bit
- bit(a: number, n: number): 0 | 1
-
Parameters
Returns 0 | 1
doubleBit2singleBit
- doubleBit2singleBit(a: number, b: number): number
-
Parameters
Returns number
getValueWait
- getValueWait(times: number | any): Promise<number>
-
Parameters
Returns Promise<number>
powerDown
-
Returns void
powerUp
-
Returns void
readAverageWait
- readAverageWait(times: any): Promise<number>
-
Parameters
Returns Promise<number>
readWait
- readWait(): Promise<number>
-
Returns Promise<number>
setOffset
- setOffset(offset: any): void
-
Parameters
Returns void
setScale
- setScale(scale: any): void
-
Parameters
Returns void
wired
- wired(obniz: Obniz): void
-
Parameters
Returns void
zeroAdjustWait
- zeroAdjustWait(times: number | any): Promise<void>
-
Parameters
Returns Promise<void>
Static info
-