Closed MajicDesigns closed 6 years ago
hmm... i guess this is posted to the wrong projected... should be here: https://github.com/olikraus/u8g2/issues
Anyhow, did you enable 16 bit mode? https://github.com/olikraus/u8g2/blob/master/doc/faq.txt#L159
Sorry for posting in the wrong place.
Yes, enabling 16 bit mode is what I was missing. Thanks for the quick response and your support.
:)
Environment: Arduino Uno, Windows 10, u8g2 library
Problem: Trying to draw a frame on the outside of the display but it will not work beyond width of 248. Display width is 296. Attached are images of what is drawn for width 248, 250 and 296. Note that for W 250 the right side of the frame is incomplete. For W 296 some sort of truncation seems to occur. Code used to generate the display is also attached. I see a similar effect when trying to display a string beyond column 248 - it wraps back to the left hand side of the display. I am pretty sure this should work, so can you please advise if there is something I am missing in order for this to show correct output?
Images: W 248![frame w 248](https://user-images.githubusercontent.com/19828051/35771814-d7056350-0986-11e8-931d-f624d2cc1ba6.JPG)
W 250![frame w 250](https://user-images.githubusercontent.com/19828051/35771819-dcb9fea0-0986-11e8-8b6f-12aa1ea5a85a.JPG)
W DISPLAY_WIDTH![frame w 296](https://user-images.githubusercontent.com/19828051/35771816-d9e139c8-0986-11e8-80a5-dd8a755f57a1.JPG)
Code: