GLCD (SSD1306) I2C

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Alan_37
Posts: 122
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 36 times
Been thanked: 17 times

Flowcode v10 GLCD (SSD1306) I2C

Post by Alan_37 »

Hello

This component has a very annoying bug , I set in the properties B8 as SDA and B9 as SCL
I compile everything works Fine .

When I restart Flowcode the connection properties Change back to B6 SDA and B7 SCL every time .

I am using 2D Legacy Dash , cos the project was started on v9 but the display was added on v10

Any help on how I can get rid of the bug please ?

Steve-Matrix
Matrix Staff
Posts: 1249
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: GLCD (SSD1306) I2C

Post by Steve-Matrix »

I've tried to replicate this but can't. Can you please post a simple project that shows this problem.

Alan_37
Posts: 122
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 36 times
Been thanked: 17 times

Re: GLCD (SSD1306) I2C

Post by Alan_37 »

Hi Steve ,

Just found out that the problem is not only on the SSD1306
I just made an SPI Master on a new product , if I use channel 1 ( hardware ) is saves the
connections properly , but if I use it is software mode and set the connections differently
it will not keep the connections after restarting flowcode , they will become Unconnected

I also tried this on windows 10 cos i was on 11 same thing

kersing
Valued Contributor
Posts: 157
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 64 times
Been thanked: 58 times

Re: GLCD (SSD1306) I2C

Post by kersing »

Have you done a full update of the components? There have been fixes made regarding the properties a little while ago.

Alan_37
Posts: 122
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 36 times
Been thanked: 17 times

Re: GLCD (SSD1306) I2C

Post by Alan_37 »

Hi

Thanks for your reply , Yes I have downloaded all the updates & restart .

I have included a sample Attachment , try to change the SSD1306 SDA to B9 and SCL to B8 Save and restart
it will default back SDA B7 and SCL B6 after restart.

Also Try to set the SPI Master to software , Mosi : B5 , Miso : B4, CLK : B3 , Save and Restart
it will become unconnected after restart .

Let me know if you have the same result .
Attachments
AC_COM2.fcfx
(33.84 KiB) Downloaded 9 times

BenR
Matrix Staff
Posts: 1733
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 439 times
Been thanked: 602 times

Re: GLCD (SSD1306) I2C

Post by BenR »

Hello,

Many thanks for letting us know I have hopefully now resolved both of these issues for you via the latest library updates.

Alan_37
Posts: 122
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 36 times
Been thanked: 17 times

Re: GLCD (SSD1306) I2C

Post by Alan_37 »

Thanks for the fix

Regards

Post Reply