This PR adds support for OLED modules using SSD1306 or SSD1309 (which natively drives 128x64 pixels), but for which the actual pixels is only a portion of the full accessible pixels. This is done by introducing an X-offset and page offset.
The X-offset implementation could probably be done better (as it might be directly supported by the controller), but this solution is good enough for now.
This PR adds support for OLED modules using SSD1306 or SSD1309 (which natively drives 128x64 pixels), but for which the actual pixels is only a portion of the full accessible pixels. This is done by introducing an X-offset and page offset. The X-offset implementation could probably be done better (as it might be directly supported by the controller), but this solution is good enough for now.