u8g2 for maple mini

Working libraries, libraries being ported and related hardware
dev
Posts: 19
Joined: Sun Feb 19, 2017 8:41 am

u8g2 for maple mini

Postby dev » Wed Mar 08, 2017 5:12 pm

Hi,
I am using oled 0.96 inch with i2c interface(SSD1306).
Is this library ported to support stm32duino.
I checked u8g2 site, but i did't get anything related stm32 there.

MagSem
Posts: 7
Joined: Fri Dec 11, 2015 2:27 pm

Re: u8g2 for maple mini

Postby MagSem » Thu Mar 09, 2017 8:17 am

Yes, u8g2 working with oled 0.96 inch with i2c interface(SSD1306), but with low FPS.

1. Load FPS.ino
2. Use
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* clock=*/ SCL, /* data=*/ SDA, /* reset=*/ U8X8_PIN_NONE);
3. Commenting
Wire1.setClock(400000L); in U8x8lib.cpp
Attachments
OLED.jpg
OLED.jpg (52.36 KiB) Viewed 142 times

dev
Posts: 19
Joined: Sun Feb 19, 2017 8:41 am

Re: u8g2 for maple mini

Postby dev » Sat Mar 18, 2017 9:44 am

Thanks MagSem,

But i think i have monochrome oled.
Could you please share code with us.

Riva
Posts: 29
Joined: Fri May 06, 2016 6:42 am

Re: u8g2 for maple mini

Postby Riva » Sun Mar 19, 2017 8:22 am

dev wrote:But i think i have monochrome oled.

The pictured OLED display is monochrome, it just has 2x different coloured transparent tapes on the face that give the colour.


Return to “Libraries & Hardware”

Who is online

Users browsing this forum: No registered users and 1 guest