Display SSH1106 + SSD1306

For general Flowcode discussion that does not belong in the other sections.
Post Reply
jgu1
Posts: 602
http://meble-kuchenne.info.pl
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Display SSH1106 + SSD1306

Post by jgu1 »

Hi!

I am testing some display I have, want to use one of them in a project HB100. They work in FC8 but not in FC9?

SSH1106 I2C:
I can change the bacgground color, from white to black and oppposite, but I cannot write any thing
Maybe a bug: Component macro for bacgground 0 = White and 1 = Black, both opposite ?

SSD1306 I2C:
Same?

SSD1306 SPI:
Same
Please, what am I doing wrong?
Br Jorgen
Attachments
Small Display.fcfx
(24.43 KiB) Downloaded 101 times

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: Display SSH1106 + SSD1306

Post by jgu1 »

Hi Again!

More information. If I open a project from FC8 with one of these display in FC9, it work. But if I create a new project in FC9 with one of the display, they don´t work I can change the bag and foreground but not see text? :roll:

Br Jorgen.

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Display SSH1106 + SSD1306

Post by BenR »

Hi Jorgen,

I've had a look and compare of the v8 and v9 component sources and in terms of the colours they seem to be identical.

I'll keep digging but I did notice this, both commands in your program are calling SetBackground.
GLCD.jpg
GLCD.jpg (46.78 KiB) Viewed 2767 times
If you do nothing with the colours and stick to the property defaults then can you see any text on the displays?

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: Display SSH1106 + SSD1306

Post by jgu1 »

Hi Ben!

No if I not use the "set background" the display is black, no text. But I am able to invert the background when I use them, dark and black, same for all display.

As I mentoid if I open a FC8 project in FC9 I see some text. Can the issue have somthing to do with the new font possibilities i FC9?

Br Jorgen

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: Display SSH1106 + SSD1306

Post by jgu1 »

Hi Ben!

I dare to ask any news, please ;)

Br jorgen

BenR
Matrix Staff
Posts: 1706
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: Display SSH1106 + SSD1306

Post by BenR »

Hello,

I've had a look at the code and couldn't see many differences from v8 to v9 apart from the new font support. I'll have another pass through.

I've got a display here but the pins are just marked 1-7 which isn't that helpful.

I'll see if I can find a pin out for it and if not then I'll have to buy another one.

jgu1
Posts: 602
Joined: Thu Dec 03, 2020 8:25 pm
Location: Denmark
Has thanked: 494 times
Been thanked: 132 times

Re: Display SSH1106 + SSD1306

Post by jgu1 »

Hi Ben!

Strange :?: If you want, I can sent you one of each so you can test, let me hear?

Nice weekend.

Jorgen

MJU20
Posts: 237
Joined: Tue Dec 08, 2020 5:11 pm
Has thanked: 75 times
Been thanked: 50 times

Re: Display SSH1106 + SSD1306

Post by MJU20 »

I think it's a timing problem, even with an up to date component library

viewtopic.php?p=7143#p7143

Post Reply