Draw shape functions draw directly to matrix. #76
Labels
No labels
Core
Fixed
Godot
HardwareIssue
LEDS
Networking
Problem
SoftwareIssue
duplicate
enhancement
good first issue
help wanted
invalid
on hold
question
reminder
todo 🗒️
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
squatnet/ArduinoStuff#76
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The draw functions from FastLED_GFX.h (e.g. DrawRectangle, DrawLine, ect.) directly affect the matrix via X,Y bypassing the setLEDs function.
this causes an issue as we are unable to address the matrix directly with our other patterns (hence the use of a CRGB array, CRGB leds[NUM_LEDS]; )
as such setLEDs is called in loop, and would override the pattern called by any use of draw functions.
Proposed initial solution.
for now i will wrap the setLED function call, from loop, in an if statement, checking that the pattern number is bellow where i add patterns that use the alternate addressing method.
this will ensure that interference doesn't occur, however is not an ideal solution as it is another variable to track when adding patterns.
Will look into a better solution. this is here mainly for my reference.
closed ref commit notes of
6432de4