Go Down

Topic: U8g2: Graphics Library for Monochrome OLEDs and LCDs (Read 29201 times) previous topic - next topic

olikraus

What about the negative voltage converter you use on the t6963? Thanks!
In the past I have used a fixed converter (aimtec), which generates -15V. Some displays also include this converter.

Oliver

olikraus

Oliver,
 Thanks again! Is m2tklib compatible with u8g2?
Not yet :-(
M2tklib is in a bad condition since the shutdown of google code. So far I had no time to reconstruct the library on github.


Oliver

jptheripper

#32
Oct 30, 2016, 03:00 pm Last Edit: Oct 31, 2016, 08:07 pm by jptheripper
Not yet :-(
M2tklib is in a bad condition since the shutdown of google code. So far I had no time to reconstruct the library on github.


Oliver
I wouldn't ask if i had another alternative that was even decent.  But m2tk is really the most capable menu system out there.  If there is anyway to port, i know I would use it.

scharkalvin


olikraus

I wouldn't ask if i had another alternative that was even decent.  But m2tk is really the most capable menu system out there.  If there is anyway to port, i know I would use it.
Well, sure, port to u8g2 should be there... I hope to get this done once. Thanks for the request.

Oliver

olikraus

still missing support for the old KS0108?
Yes, I know it is missing, but is it really required? There is another lib "OpenGLCD" which is reliable and also faster.

Oliver

arduinoobz

I have created this issue for this:
https://github.com/olikraus/u8g2/issues/73
Thank you very much. ๆๆๆ
:)

jptheripper

Well, sure, port to u8g2 should be there... I hope to get this done once. Thanks for the request.

Oliver
I really do appreciate this

olikraus

U8g2 Release 2.6.3 is now available.

New features include:
 * Support for UC1610 and UC1611
 * Support for second TWI/I2C Interface (e.g. for the Due)
 * Improved TWI/I2C speed
 * Mirrored output

Github: List of all issues for this release.

UC1611 Display


Mirrored Output:

kasko

I'm a bit lost, and I hope anyone out there please could help me!
I tried to use the Ug8lib and this worked very nice. Then I found that this lib was not supported anymore, one should use the U8g2 lib.
I have downloaded the latest version of the library from github as a zip-file. I have opened the zip-file in a temporary folder and renamed the name (=deleted the "-master") and made a new zip-file just called "u8g2lib.zip".

From the Arduino IDE, I try to install this new library, but I get a message that it's not a valid library. I looked in some other zipped library files, and found that the ".h" and ".cpp" files should be found in the "root" of the zipped file. These files were then copied from the cppsrc folder to the "root". The library was then detected correct.

Next step was to try one of the test programs. I copied the example "Hello world.ino" to my working directory and opened it in the Arduino IDE. Trying to compile gives me error messages and the procram could not be compiled.

I have tried to copy all the source files to the "root" of the library folder, but without any luck :-(

I feel I have messed it all up and I wonder if anyone please could give me some help to get it working!

Best regards Karl


PS. I have also updated my Arduino IDE from version 1.6.6 to 1.6.13, but I get the same errors.

olikraus

#40
Dec 13, 2016, 02:07 pm Last Edit: Dec 13, 2016, 02:08 pm by olikraus
Hi
You can directly select and install U8g2 from the library manager of the Arduino IDE. There should be no need to download and install any zip file.

However, if you really need the correct zip file, then please download the latest zip from here:
https://github.com/olikraus/U8g2_Arduino/archive/master.zip

Oliver

kasko

Thank you very much! Now I learned something about handling libraries :-)

Thanks for a very nice library to!!!

Karl

Revolverduino

#42
Dec 20, 2016, 01:25 am Last Edit: Dec 20, 2016, 01:33 am by Revolverduino
Hey Oliver,
I am hoping you can help me out here. I have got a 1.3" I2C OLED screen and all the examples work with this line of code
Code: [Select]
U8G2_SSD1306_128X64_NONAME_1_SW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);   // All Boards without Reset of the Display

I am running the latest U8g2 library as of today.

The only thing that isn right is that the screen seams to be offset some pixles to the left and that the is always a little chunk of pixels at the right side of the screen. It doesnt matter where the cursor is set, the pixels will always be at the same position. It also stays there when
Code: [Select]
u8g2.clearDisplay();
 is called. When I use a 0.96" display with the same code the blocks dont appear.
I have added some pictures of my screen. Do you have an idea what I could do to change that?

Pictures also on imgur...

olikraus

Maybe this is a SH1106 controller instead of the SSD1306.

Just try
Code: [Select]
U8G2_SH1106_128X64_NONAME_1_SW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);

Moreover, I suggest to use hardware I2C:
Just try
Code: [Select]
U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0);

Oliver

zdravke

Will there be support for SSD1309 I2C OLEDs in the future please?

Go Up