LED Matrix set() method does not work on top row #259
Labels
conclusion: resolved
Issue was resolved
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
While testing the
set(x,y,r,g,b)
method, I noticed they
coordinate only works from1
and upwards, skipping the entire top row.The
x
coordinate works as intended (starting at0
).Here is the sketch (just blinks a pixel):
Additional Note: the
set()
method was originally created for an RGB matrix. I think it would make sense to replace0,0,0
and1,1,1
with something likePIXEL_OFF
/PIXEL_ON
, by adding a#define PIXEL_ON 1,1,1
.Like:
matrix.set(x, y, PIXEL_ON)
instead ofmatrix.set(x, y, 1, 1, 1)
.The text was updated successfully, but these errors were encountered: