GLCD (SSD1306) 128x64 I2C with 3 pins

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
viki2000
Posts: 188
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

GLCD (SSD1306) 128x64 I2C with 3 pins

Postby viki2000 » Tue Jun 16, 2015 12:35 pm

I tried Adafruit OLED 1.3” I2C with 3 pins: Data, Clock and Reset
http://www.adafruit.com/product/938
https://learn.adafruit.com/monochrome-o ... t-3-128x64

but the component “GLCD (SSD1306) I2C” requires only 2 pins: Data and Clock.

Here are some tests done:
viewtopic.php?f=7&t=16592
I already checked these posts:
viewtopic.php?f=56&t=16374
viewtopic.php?f=56&t=16374&hilit=ssd1306
viewtopic.php?f=56&t=16486&hilit=ssd1306

Would be possible to have a modified version of the component “GLCD (SSD1306) I2C” also for GLCD (SSD1306) version with RST pin?
These users thanked the author viki2000 for the post:
Benj (Wed Jun 17, 2015 1:24 pm)
Rating: 5.26%
 

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Has thanked: 49 times
Been thanked: 101 times
Contact:

Re: GLCD (SSD1306) 128x64 I2C with 3 pins

Postby hyperion007 » Sat Jun 20, 2015 12:00 pm

Can't you just pull the RST pin low or high so it won't reset? Surely it would work? Or you could use a pin on your controller of choice if you want to be able to do a hardware reset through your software.

viki2000
Posts: 188
Joined: Mon Jul 07, 2014 9:38 am
Has thanked: 30 times
Been thanked: 77 times
Contact:

Re: GLCD (SSD1306) 128x64 I2C with 3 pins

Postby viki2000 » Tue Jun 23, 2015 3:44 pm

Of course I can do that, but i thought the RST pin needs a timing, meaning to be controlled by the microcontroller at a certain moment with certain width for the pulse. And that to be synchronized according with the library for SSD1306.
But I will try also your suggestion.
In mean time I asked Adafruit for SSD1306 library for PIC and they said they do not have for PIC. They have only for Arduino. AVR, ARM.
Then I checked some universal libraries.
I found this https://code.google.com/p/u8glib/ and more on https://github.com/

I am just wondering why nobody really makes the library for OLED for PIC microcontrollers?
Is it because requires more RAM due to definitions of fonts and functions?
if it is like that, then I can understand why some people still made some OLED ibraries in C for PIC18 family only.
Here are some examples:
http://pic18fxx.blogspot.de/2014/12/lib ... al_63.html
https://www.pjrc.com/teensy/td_libs_SSD1306.html
http://www.todopic.com.ar/foros/index.p ... #msg366322
http://catcatcat.d-lan.dp.ua/skachat/bi ... rfeys-i2c/
http://catcatcat.d-lan.dp.ua/skachat/bi ... a-ssd1306/

I have no time to test them right now, but I guess starting from the C code from links above and from Adafruit or other on Github, then a component can be developed also for Flowcode.