Hi
It's by user johnsondav and can be found here
https://www.matrixtsl.com/mmforums/view ... 66&t=19116
He kindly shared a few guides which I found to be very helpful.
Regards
OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
-
- Valued Contributor
- Posts: 1146
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 284 times
- Been thanked: 412 times
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 507 times
- Been thanked: 132 times
Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
Hi!
I have testet pmgreene01 SH1106 I2C program, same issue for me.
I have a SH1106 SPI display, it works perfectly, except if i close the program and open it again it has not saved the pin connections?
Br jorgen
I have testet pmgreene01 SH1106 I2C program, same issue for me.
I have a SH1106 SPI display, it works perfectly, except if i close the program and open it again it has not saved the pin connections?
Br jorgen
- Attachments
-
- SSH1106SPInano_edit.fcfx
- (15.57 KiB) Downloaded 883 times
-
- Posts: 615
- Joined: Thu Dec 03, 2020 8:25 pm
- Location: Denmark
- Has thanked: 507 times
- Been thanked: 132 times
Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
Wow Martin made a test, really fast, full speed
Maybe MM team can use something from your program to fix the SH1106 I2C component in FC10, and still, it work perfect with the SPI, but will not save the pin conection?
Br Jorgen
Maybe MM team can use something from your program to fix the SH1106 I2C component in FC10, and still, it work perfect with the SPI, but will not save the pin conection?
Br Jorgen
-
- Valued Contributor
- Posts: 953
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 104 times
- Been thanked: 507 times
Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
And see viewtopic.php?f=10&t=2233 for a different approach....
-
- Posts: 35
- Joined: Sat Jul 08, 2023 7:39 pm
- Has thanked: 3 times
- Been thanked: 4 times
Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
Martin,
I ran the program glcd.fcfx and it is much faster than using the standard SH1106 component.
I am rather new to Flowcode, how do I turn your code into a component I can add to my 2D panel?
I ran the program glcd.fcfx and it is much faster than using the standard SH1106 component.
I am rather new to Flowcode, how do I turn your code into a component I can add to my 2D panel?
-
- Valued Contributor
- Posts: 953
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 104 times
- Been thanked: 507 times
Re: OLED display issues, gLCD_SH1106_I2C1, Arduino Nano
Hi,
- Converting it to a component is fairly straightforward. However, adding simulation and other niceties less so. I think getting glcd_base working correctly (see my note above) - handles a lot of this background stuff though. I'll have a bit more of a play and see if I can get it working.
In fact it might be possible (and maybe) easier to modify the existing component - pulling out all the writes to the display - adding a 'Display' macro that the use calls to output to the display..
Martin
- Converting it to a component is fairly straightforward. However, adding simulation and other niceties less so. I think getting glcd_base working correctly (see my note above) - handles a lot of this background stuff though. I'll have a bit more of a play and see if I can get it working.
In fact it might be possible (and maybe) easier to modify the existing component - pulling out all the writes to the display - adding a 'Display' macro that the use calls to output to the display..
Martin