olikraus / u8glib

Arduino Monochrom Graphics Library for LCDs and OLEDs
https://github.com/olikraus/u8glib/wiki
Other
1.24k stars 313 forks source link

Nodemcu and ssd1327 i2c #380

Closed Sambutcher closed 8 years ago

Sambutcher commented 8 years ago

Hello,

I tried to made a seeedstudio Grove 96' oled screen (based on ssd1327) work on nodemcu v1.0.

I compiled a firmware with u8glib ssd1327_96x96_gr_i2c. Connectivity parameters are: SDA on pin 2, SDL on PIN 1 (due to Grove connection), and sla=0x3c.

Alter initialIsing i2c, only the declaration (disp=u8g.u8glib ssd1327_96x96_gr_i2c(0x3c)) made the screen react (Black and white dots), but I'm unable to write or change anything then with u8g subfunctions. Strangely, when I send i2c commands directly (with i2c.write ...), it seems to work (I was able to turn the screen off for exemple).

To complete, I tried before with the Seeedstudio library for Arduino and it works well (but for Arduino code and I want to use LUA!)

Any ideas about this issue?

Thank you for help,

Samuel

devsaurus commented 8 years ago

@Sambutcher I'd propose to investigate this issue first in the context of NodeMCU since it might be more an integration topic than a native u8glib issue. If you agree then let's continue at devsaurus/nodemcu-firmware#8 to avoid unnecessary traffic here.

devsaurus commented 8 years ago

This issue can be closed.

olikraus commented 8 years ago

ok