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.
Post Reply
viki2000
Posts: 189
Joined: Mon Jul 07, 2014 9:38 am
Contact:

GLCD (SSD1306) 128x64 I2C with 3 pins

Post by viki2000 »

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:
http://www.matrixtsl.com/mmforums/viewt ... =7&t=16592
I already checked these posts:
http://www.matrixtsl.com/mmforums/viewt ... 56&t=16374
http://www.matrixtsl.com/mmforums/viewt ... it=ssd1306
http://www.matrixtsl.com/mmforums/viewt ... it=ssd1306

Would be possible to have a modified version of the component “GLCD (SSD1306) I2C” also for GLCD (SSD1306) version with RST pin?

hyperion007
Posts: 528
Joined: Sat Dec 01, 2012 1:23 pm
Location: Sweden
Contact:

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

Post by hyperion007 »

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: 189
Joined: Mon Jul 07, 2014 9:38 am
Contact:

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

Post by viki2000 »

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.

Post Reply