LedMatrixChar()

LedMatrix sensor module run as 'Char Mode'

new LedMatrixChar()

Extends

Members

protocol

getter of protocol

Inherited From:

Methods

char(str) → {Instance}

set char as the content shown on the led maxtrix

Parameters:
Name Type Description
str String

the content string

Returns:
Instance -

@this

clear()

clear Matrix panel content
TOIMPROVE: 甚至可以提供接口清除某个区域

Inherited From:

content(str, coordinate)

set content for Matrix panel

Parameters:
Name Type Description
str String
coordinate Number

contains [x, y]

run()

run

Inherited From:

x(x) → {Instance}

set the X axis coordinate of the char

Parameters:
Name Type Description
x Number
Returns:
Instance -

@this

y(y) → {Instance}

set the Y axis coordinate of the char

Parameters:
Name Type Description
y Number
Returns:
Instance -

@this