Page 1 of 1

SSD1306 Display SLOW

Posted: Mon Dec 19, 2016 1:07 am
by Alan_37
Hi

I am trying to use SSD1306 I2c Display component , But it takes about 5 seconds to print "1234567890".

Is this a bug ? I'm Using Arduino 2560 R3

Thanks

Re: SSD1306 Display SLOW

Posted: Mon Dec 19, 2016 11:10 am
by Benj
Hello Alan,

Thanks for letting us know. Here is an updated version of the component which allows access to the stop delay property. This was previously set to on Yes which explains the slow operation of the display. Simply copy the file into your "Flowcode 7/Components" directory and restart Flowcode.
gLCD_SSD1306_i2c.fcpx
(11.66 KiB) Downloaded 424 times

Re: SSD1306 Display SLOW

Posted: Mon Dec 19, 2016 11:41 am
by Alan_37
HI Benj

Yes I can confirm that fiexs the problem .

If i can make a suggestion , this lcd can work on 2 Addresses 0x78 and 0x7A
would be nice if we can choose the address so we can have 2 displays on the same bus .

Thanks very much for your fast support .

Re: SSD1306 Display SLOW

Posted: Mon Dec 19, 2016 11:50 am
by Benj
Hi Alan,

Thanks for the suggestion. I have now added a new property to control the I2C address.
gLCD_SSD1306_i2c.fcpx
(11.7 KiB) Downloaded 533 times
Let me know how you get on.

Re: SSD1306 Display SLOW

Posted: Tue Dec 20, 2016 9:22 am
by Alan_37
It Works .

Thanks very much :)

Re: SSD1306 Display SLOW

Posted: Fri Dec 23, 2016 3:41 pm
by damstech8888
Re: SSD1306 Display SLOW


Dear Benj
about gLCD_SSD1306_i2c.fcpx

could you do the same non-delay update for V6?

Re: SSD1306 Display SLOW

Posted: Fri Dec 23, 2016 7:41 pm
by Benj
I'm away from my computer at the moment but you can workaround the problem in v6 like this.

Editing the right CAL I2C file for the microcontroller family your using.

http://www.flowcode.co.uk/mmforums/viewt ... 799#p69801

Re: SSD1306 Display SLOW

Posted: Sun Apr 30, 2017 4:56 pm
by bercioiu
Benj wrote:Hi Alan,

Thanks for the suggestion. I have now added a new property to control the I2C address.
gLCD_SSD1306_i2c.fcpx
Let me know how you get on.
This is for FC7. There is an file for FC6 ? I can`t change the address for my ssd1306 i2c in FC6.
Thanks!

Re: SSD1306 Display SLOW

Posted: Tue May 02, 2017 11:09 am
by Benj
Hello,

In v6 you can fix as shown in the link above by editing the CAL C file.

Or you can do the following.

Click View -> Component Debugger
Check the Expose Full Component Tree tick box
In the properties window click the drop down at the top
Choose the cal_i2c1 inside the SSD1306 component
Change the Stop Delay property to No
Untick the Expose Full Component Tree tick box
Close the component debugger window

The slowness problem should now be fixed in your project.

Re: SSD1306 Display SLOW

Posted: Tue May 02, 2017 3:46 pm
by bercioiu
OK, thank you for reply, but my problem is that I don`t know what`s the default i2C address for the gLCD_SSD1306_i2c1 component in FC6.

Re: SSD1306 Display SLOW

Posted: Tue May 02, 2017 5:03 pm
by Benj
The default 7-bit I2C address is = 0x3C or 0b00111100

Which makes the 7-bit address + Write bit = 0x78 or 0b01111000

And hence the 7-bit address + Read bit = 0x79 or 0b01111001

Re: SSD1306 Display SLOW

Posted: Sat May 06, 2017 10:09 pm
by bercioiu
Thank you!
Problem solved with 0x78.