bitbank2/OneBitDisplay

Buffered text with obdWriteString doesn't work on the lower half of a 128x128 display

ed-001 opened this issue · 3 comments

obdWriteDataBlock has 1024 hard coded as the maximum length of the screen buffer so buffered text the lower half of a 128x128 display is ignored. I fixed it in my case by increasing the maximum length to 2048 (and setting the bit mask to 2047), but there may be a better solution.

I just made major changes to the library to support virtual displays of any size. This required that I fix all of the areas which had hard coded values of 1023. Please do a git pull from the experimental branch and verify that it's fixed. I will be doing an official release shortly of this latest code.

The experimental branch works correctly.

Great - thanks for letting me know.