Page 1 of 1

Display SSH1106 + SSD1306

Posted: Sat Nov 20, 2021 8:23 am
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

Re: Display SSH1106 + SSD1306

Posted: Sun Nov 21, 2021 8:56 pm
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.

Re: Display SSH1106 + SSD1306

Posted: Mon Nov 22, 2021 4:48 pm
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 2867 times
If you do nothing with the colours and stick to the property defaults then can you see any text on the displays?

Re: Display SSH1106 + SSD1306

Posted: Mon Nov 22, 2021 7:02 pm
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

Re: Display SSH1106 + SSD1306

Posted: Thu Nov 25, 2021 8:48 pm
by jgu1
Hi Ben!

I dare to ask any news, please ;)

Br jorgen

Re: Display SSH1106 + SSD1306

Posted: Fri Nov 26, 2021 3:42 pm
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.

Re: Display SSH1106 + SSD1306

Posted: Fri Nov 26, 2021 6:57 pm
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

Re: Display SSH1106 + SSD1306

Posted: Sat Jun 18, 2022 5:35 pm
by MJU20
I think it's a timing problem, even with an up to date component library

viewtopic.php?p=7143#p7143