LedMatrixTime()

LedMatrix sensor module run as 'Time Mode'

new LedMatrixTime()

Extends

Members

protocol

getter of protocol

Inherited From:

Methods

clear()

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

Inherited From:

content(timeStr)

set content for Matrix panel

Parameters:
Name Type Description
timeStr String

time string format should be 'HH:MM' or 'HH MM' or 'H:M'

hour(h)

set hour

Parameters:
Name Type Description
h Number

hour

minute(m)

set minute

Parameters:
Name Type Description
m Number

minute

run()

run

Inherited From:

separator(separator)

set separator between hour and minute

Parameters:
Name Type Description
separator String

01 signify :, 02 signify