Open alifeee opened 1 month ago
heh not something I've touched in years, good to know there's still people out there playing with these displays :)
And thanks, not quite sure what's going on there, I assume it's to adapt it to a different graphics library? Can't hurt to have the option i guess
I'm not fully sure. I think it is that
without FB_SEQUENTIAL
, when you sent a pixel, it was not addressable as a rectangle in X and Y, but some strange shape (two rectangles, one per half of the display?)
with FB_SEQUENTIAL
, points are increasing from the top left pixel by 1 for each "real" pixel
not having tested it, I can't really say...
it would also just be enough for me to leave a link to https://github.com/sheffieldhackspace/train-signs/blob/main/lib/BigClock/BigClock.cpp here in this issue, and leave the issue open, for anyone to discover in future.
I'm not fully sure why this is needed, as I adopted the library with the patch already applied.
I think it is something to do with making the screen addressable as a 2D array, rather than two arrays.
The new library is here: https://github.com/sheffieldhackspace/train-signs/blob/main/lib/BigClock/BigClock.cpp
The old library (in this repository) is here: https://github.com/daniel1111/BigClockSnake/blob/master/libraries/BigClock/BigClock.cpp
The diff is: