Matrix

Matrix Scroll

Syntax:

matrix.scrollTextCmd('text','slow'|'medium'|'fast')

Example:

matrix.scrollTextCmd('Your Message','fast')

Matrix Point

Syntax:

matrix.pointCmd(x,y,Fill:'on'|'off')

Example:

matrix.pointCmd(5,5,'on')

Matrix Line

Syntax:

matrix.lineCmd(x1,y1,x2,y2)

Example:

matrix.lineCmd(1,1,10,10)

Matrix Rectangle

Syntax:

matrix.rectangleCmd(x1,y1,x2,y2,Fill:'on'|'off')

Example:

matrix.rectangleCmd(5,5,10,10,'on')

Matrix Move

Note: Use the matrix editor to save your matrix to eBot first.

Syntax:

matrix.moveCmd('left | right | up | down')

Example:

matrix.showMatrixCmd('Smiley')
control.wait(2)
matrix.moveCmd('left')

Play Animation

Note: use the matrix editor to save your animation to eBot first.

Syntax:

matrix.playAnimationCmd('Matrix Animation FileName')

Example:

//use the matrix editor to save your animation to eBot first
matrix.playAnimationCmd('Count')

Show Matrix

Note: Use the matrix editor to save your matrix to eBot first

Syntax:

matrix.showMatrixCmd('Matrix FileName')

Example:

//use the matrix editor to save your matrix to eBot first
matrix.showMatrixCmd('Smiley')
control.wait(2)
matrix.clearCmd()

Matrix Clear

Syntax:

matrix.clearCmd()

Example:

matrix.rectangleCmd(5,5,10,10,'on')
control.wait(2)
matrix.clearCmd()

Matrix Brightness

Syntax:

matrix.brightnessCmd(num:0-100)

Example:

//use the matrix editor to save your matrix to eBot first
matrix.showMatrixCmd('Smiley')
matrix.brightnessCmd(100)
control.wait(2)
matrix.brightnessCmd(50)
control.wait(2)
matrix.brightnessCmd(10)