-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Pimoroni 128x128 OLED SH1107 offset #803
Comments
Thanks for the information. New constructor: I have created a beta release for this. Can you test the new constructor? Will it work? You can download the latest U8g2 beta release from here: https://github.com/olikraus/U8g2_Arduino/archive/master.zip
|
this is part of 2.25 now, but will be moved to 2.26 for testing |
Any feedback? |
Hi, sorry for the delay. I have been busy with work this week. I will test
the new constructor this weekend and give you proper feedback.
Thanks and kind regards.
|
No problem... take you time... |
Hello, sorry again for the delay. |
Thanks for testing. |
The FlipMode.ino code seems to work. Frame is continuously shown and text turns. Probably is not related (I'm quite new to this) but I've found out any attempt to show Unicode characters it shows the ? character instead. Please check this short video: I'm using a SparkFun Pro Micro 5v/16Mhz board. Regards! |
Thanks a lot for the video. I the flipmode example works perfect. Regarding the "?" problem: Which IDE do you use? Which Version of the IDE? |
I use Arduino IDE v1.8.8 (the latest I think). The problem with unicode characters happened to me with the stable library version too, even before I posted this issue. |
hmm strange. I have IDE v1.8.4 here and unicode works without problems with the internal editor. Maybe I should check a later version. |
Quite strange indeed. I've checked the code of graphicstest and the other unicode examples and the Arduino IDE shows correctly the unicode characters. Do I need to install anything else apart of the library itself? (like fonts, etc...) Maybe I'm skipping something. Just in case, I will try 1.8.4 and write you back as soon as possible. |
No extra software is required. It should work out of the box. |
Try saving and reloading the sketch. |
@AnHardt that did the trick! Before I saw AnHardt's response, I was trying to upload the sketch with my iMac + Arduino IDE 1.8.8 (normally I use a Surface Pro 4 to "play" with UCs). The unicode characters were shown properly this time. I thought it was some issue with the Surface. Then I tried the Surface Pro again, saving the modified sketch as a new project before uploading, and worked perfectly. Thanks for the help :) |
Confirmed the unicode "issue" and the solution provided testing on a third Windows PC. |
Hmmm... Never had such a problem on Linux... |
Yes, as I mentioned, the issue only affects to Windows. |
Hello,
First of all thanks for the amazing work with this library :)
I am working with a Pimoroni 128x128 OLED breakout board based on the SH1107 chip connected to a SparkFun Pro Micro 5v. After my first test I noticed the display show quite big X offset.
After reading the issue #501 I've discovered this board doesn't require the 96 pixels X offset that exists in the u8x8_d_sh1107.c file.
So, after changing u8x8_d_sh1107.c lines 374 and 375 to:
/* default_x_offset = / 0,
/ flipmode_x_offset = */ 0,
The display shows contents properly.
I guess I should notify this :)
Kind regards.
The text was updated successfully, but these errors were encountered: