-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SH1107 128x64 offset and sideways #48
Comments
@spotrevoc Are you sure you have 128x64 display, and not 64x128? |
I believe technically it's a 64x128. Adafruit markets it as 128x64 but as I'm diving into their library they document it as "rotated" 64x128. How easy could it be to swap x/y and add a separate constructor with the same startline and offset they use? If that's not feasible, I really don't mind using it as 64x128 and swapping cursor position x and y in my code, as long as there's a way to rotate text and sprites with the library. |
Also, nothing against Ada, but I really like your library overall and would like to stick with it since I've already developed a lot of code with it for an SH1106. I had hoped the Adafruit SH1107 oled shield would be pretty much a drop in replacement. |
I'm closing the issue, since there is no any activity. But feel free to reopen if you have any questions |
How would I go about using canvas to write a rotate method? |
How would I go about using canvas to write a rotate method? |
The solution for 1-bit displays is in #72 ticket |
Using ESP32 with Adafruit OLED Featherwing display (SH1107 128x64 I2C).
lcdgfx library version 1.0.6
When running the sh1107_demo sketch from the example folder, image is rotated 90 degrees and only works in bottom right 64x32 pixels. Bottom left 64x32 pixels show a snowy pattern.
64x128 example works fine but screen is rotated and does not fit my needs that way.
Compiled using Arduino IDE 1.8.13 in Windows 10
The text was updated successfully, but these errors were encountered: