LedMatrixEmotion()

LedMatrix sensor module run as 'Emotion Mode'

new LedMatrixEmotion()

Extends

Members

protocol

getter of protocol

Inherited From:

Methods

clear()

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

Inherited From:

content(emotionStr, coordinate)

set content for Matrix panel

Parameters:
Name Type Description
emotionStr String
coordinate Number

contains [x, y]

emotion(emotion)

use lattice to describe the emotion

Parameters:
Name Type Description
emotion String

lattice '000000100000100001110001001'

run()

run

Inherited From:

x(x)

set the X axis coordinate of the emotion

Parameters:
Name Type Description
x Number

y(y)

set the Y axis coordinate of the emotion

Parameters:
Name Type Description
y Number