GLCD (SSD1306) I2C

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
Alan_37
Posts: 173
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 52 times
Been thanked: 25 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: 1397
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 190 times
Been thanked: 324 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: 173
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 52 times
Been thanked: 25 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: 182
Joined: Wed Dec 02, 2020 7:28 pm
Has thanked: 73 times
Been thanked: 63 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: 173
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 52 times
Been thanked: 25 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 211 times

BenR
Matrix Staff
Posts: 1909
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 494 times
Been thanked: 672 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: 173
Joined: Thu Dec 03, 2020 7:23 pm
Has thanked: 52 times
Been thanked: 25 times

Re: GLCD (SSD1306) I2C

Post by Alan_37 »

Thanks for the fix

Regards

Post Reply