Skip to content

Commit

Permalink
Fix: do not randomly clear the first line of the LED matrix.
Browse files Browse the repository at this point in the history
This fixes #259.

Instead the root cause for this issue was within ArduinoGraphics, for a detailed explanation see here: arduino-libraries/ArduinoGraphics#36 .
  • Loading branch information
aentinger committed Feb 14, 2024
1 parent 5f1e20f commit ef1a152
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/Arduino_LED_Matrix/src/Arduino_LED_Matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,6 @@ class ArduinoLEDMatrix
// display the drawing
void endDraw() {
ArduinoGraphics::endDraw();
// clear first line (no idea why it gets filled with random bits, probably some math not working fine for super small displays)
for (int i = 0; i < canvasWidth; i++) {
_canvasBuffer[0][i] = 0;
}
renderBitmap(_canvasBuffer, canvasHeight, canvasWidth);
}

Expand Down

0 comments on commit ef1a152

Please sign in to comment.