v1.2.0 breaks matrix.clear() when using Arduino R4 LED Matrix with matrix.set(...) #336
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
The v1.2.0 update of the Arduino LED Matrix library broke the
clear()
command in that it clears the frame buffer, but not the canvas buffer.That was previously done (admittedly in a crude way) by setting all pixels off one by one in the base
ArduinoGraphics
class, but does not happen anymore in the overridden method.A simple additional
memset()
inclear()
should resolve this issue.The text was updated successfully, but these errors were encountered: