Class _7SegmentLED_MAX7219
Constructors
constructor
-
Properties
cs
digits
digits: number
keys
keys: string[]
numOfDisp
numOfDisp: number
obniz
params
params: any
requiredKeys
requiredKeys: string[]
spi
Methods
brightness
- brightness(display: number, value: number): void
-
Parameters
-
display: number
-
value: number
Returns void
brightnessAll
- brightnessAll(value: number): void
-
Parameters
Returns void
clear
- clear(disp: number): void
-
Parameters
Returns void
clearAll
-
Returns void
encodeBCD
- encodeBCD(decimal: number | string, dp: any): number
-
Parameters
-
decimal: number | string
-
dp: any
Returns number
init
- init(numberOfDisplays: number, digits: number): void
-
Parameters
-
numberOfDisplays: number
-
digits: number
Returns void
setNumber
- setNumber(display: number, digit: number, number: number | MAX7219NumberType, dp: boolean): void
-
Parameters
-
display: number
-
digit: number
-
-
dp: boolean
Returns void
test
-
Returns void
wired
- wired(obniz: Obniz): void
-
Parameters
Returns void
writeAllDisp
- writeAllDisp(data: number[]): void
-
Parameters
Returns void
writeOneDisp
- writeOneDisp(disp: number, data: number[]): void
-
Parameters
-
disp: number
-
data: number[]
Returns void
Static info
-