forked from zephyrproject-rtos/ArduinoCore-zephyr
-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Now we only support animation with full britness, based on an old api for the UNO R4, it could be useful to also support api for grayscale animation instead.
For reference, here is the summary of the current api:
loadSequence(const uint32_t frames[][5]), which loads a list of frames compacted in 4 int32 plus one int32 for the frame timeout.playSequence(bool loop = false), just run the loaded sequence with or without a loop
If we want to go with a compacted frame representation, we could use 10 int32 for each frame, plus one for the frame timeout. (i.e., (1383)/32 = 9.75 ~= 10).
A possible proposal is to add a new implementation of the loadSequence with support also grayscale
loadSequence(const uint32_t frames[][11])
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels