olikraus / u8g2

U8glib library for monochrome displays, version 2
Other
4.94k stars 1.04k forks source link

two 128x32 display as one 128x64 #968

Open FxIII opened 4 years ago

FxIII commented 4 years ago

I would like to use two stacked 128x32 display as one 128x64. I would like to write a new class that wraps the thing out and expose the same API. How complex it should be and which is the best approach I can follow? In general there is some work in progress to make this kind of displays "tile-able"?

P.S. I suppose that the u8x8 interface should be easier to extend to make it tileable.

olikraus commented 4 years ago

It would be possible to implement a virtual u8x8 devices which redirects the tiles to either the upper or the lower real display. In fact it could be more flexible in the sense of supporting multiple displays.

It probably wouldn't be that complicated, but still the question is, is it worth to do this?

Implementation idea:

FxIII commented 4 years ago

what about u8g2?

olikraus commented 4 years ago

U8g2 will be based on the above u8x8 virtual display.

olikraus commented 4 years ago

Maybe it shouldn't be a list, but a chained list of objects, connected with a next pointer...

olikraus commented 4 years ago

difficult to implement... postponed

CWGwaltney commented 7 months ago

was this ever implemented,,, now we need 2 x 128 x 64

olikraus commented 7 months ago

that had been an idea, but I never implemented this... There is an issue here, where something similar was implemented here: https://github.com/olikraus/u8g2/issues/1351

At the end of that issue, there is some instruction on how to solve this 2x128x64 topic.