-->
Page 5 of 6

Re: i2c OLED Module example

PostPosted: Thu Feb 19, 2015 5:24 pm
by eichhorn
The tables for the characters need so much space. :(

Bitwise operations are included in nodemcu:
https://github.com/nodemcu/nodemcu-firm ... en#bitbnot

Re: i2c OLED Module example

PostPosted: Tue Feb 24, 2015 5:41 pm
by devsaurus
scabskunk wrote:Amazing work you guys. I have been reading and trying for weeks to get an oled working and now might be able to get some progress.
What about integrating https://code.google.com/p/u8glib/ I was using this for an arduino project and love it!


I've been working on Lua bindings for u8glib recently. vowstar kindly merged them into the dev branch and they might become available in master sometime soon. The display I use for development is an SSD1306 with I2C interface so this should work right out of the box with the example scripts.
Next step is to set up the SPI link - this will enable most of the display types which are supported by u8glib. The code is in place, I'm just waiting to get my hands on an SPI display for final debugging.

Re: i2c OLED Module example

PostPosted: Thu Feb 26, 2015 4:42 am
by alon24
wow thi is good news, I am waiting for ssd1306 integration into Lua.

would it also be possible to add custom fonts like for hebrew?

Re: i2c OLED Module example

PostPosted: Thu Feb 26, 2015 5:57 am
by alonewolfx2
alon24 wrote:wow thi is good news, I am waiting for ssd1306 integration into Lua.

would it also be possible to add custom fonts like for hebrew?

You can check this post. its implemented in to the lua
viewtopic.php?f=21&t=1800