SSD1306 Display SLOW
Moderator: Benj
- Alan_37
- Posts: 179
- Joined: Sun May 01, 2016 8:36 pm
- Has thanked: 51 times
- Been thanked: 54 times
- Contact:
SSD1306 Display SLOW
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
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
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SSD1306 Display SLOW
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Alan_37
- Posts: 179
- Joined: Sun May 01, 2016 8:36 pm
- Has thanked: 51 times
- Been thanked: 54 times
- Contact:
Re: SSD1306 Display SLOW
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 .
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 .
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SSD1306 Display SLOW
Hi Alan,
Thanks for the suggestion. I have now added a new property to control the I2C address.
Let me know how you get on.
Thanks for the suggestion. I have now added a new property to control the I2C address.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 14
- Joined: Wed Mar 05, 2014 11:43 am
- Has thanked: 1 time
- Contact:
Re: SSD1306 Display SLOW
Re: SSD1306 Display SLOW
Dear Benj
about gLCD_SSD1306_i2c.fcpx
could you do the same non-delay update for V6?
Dear Benj
about gLCD_SSD1306_i2c.fcpx
could you do the same non-delay update for V6?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SSD1306 Display SLOW
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.matrixtsl.com/mmforums/viewt ... 799#p69801
Editing the right CAL I2C file for the microcontroller family your using.
http://www.matrixtsl.com/mmforums/viewt ... 799#p69801
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: SSD1306 Display SLOW
This is for FC7. There is an file for FC6 ? I can`t change the address for my ssd1306 i2c in FC6.Benj wrote:Hi Alan,
Thanks for the suggestion. I have now added a new property to control the I2C address.
Let me know how you get on.
Thanks!
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SSD1306 Display SLOW
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: SSD1306 Display SLOW
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.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SSD1306 Display SLOW
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
Which makes the 7-bit address + Write bit = 0x78 or 0b01111000
And hence the 7-bit address + Read bit = 0x79 or 0b01111001
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 161
- Joined: Sun Feb 25, 2007 10:56 am
- Location: bucharest, romania
- Has thanked: 90 times
- Been thanked: 34 times
- Contact:
Re: SSD1306 Display SLOW
Thank you!
Problem solved with 0x78.
Problem solved with 0x78.
- Attachments
-
- test.jpg (143.37 KiB) Viewed 8941 times