Skip to content

Create All_Spark Cube module #49

@spuder

Description

@spuder

The software should be modular and have a plugin for All Spark Cube

The class will need to generate a message to send over Serial.write();

The message will be formated and only send the difference between the current cube and the next cube.

[Message ID Type, Message Length, x, y , z, color Code, x, y, z, color Code.....]

If you wanted to turn led 0,0,0 and led 15,15,15 to red, you would send the following.

[11, 8 , 0 , 0, 0, 3, 15, 15, 15,3 ]
11 = change led in message table
3 = red, in color table
8 = number of leds to change multiplied by 4 bytes of information per led. This number can never be above 255 or else you will have to send 2 messages.
Note refer to the documentation for the actual numbers and codes

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions