Hi Bill, I had a detailed look at the datasheet of the SH1106 and saw that setting the device on a certain position works differently so I changed that. This way of positioning the device uses a page addressing mode. This mode is also available in the SSD1306 but there the library uses horizontal addressing mode and so a different method is used. You can also select the page addressing mode on the SSD1306 and then the same approach is used as in the SH1106.
Not sure if this solves all problems but this version will not work on the SSD1306 since the command to select the addressing mode is not present in the SH1106 so I removed that command in total to prevent any side effects. In the future it might be possible to make one library for both (maybe with a 'define') but maybe it is better to keep them separate otherwise the library name should change to glcd_ssd1306_sh1106. If this does not work then you have to wait until I can test it myself. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens Rob CJ <[email protected]> Verzonden: zondag 18 januari 2026 16:28 Aan: [email protected] <[email protected]> Onderwerp: Re: [jallib] Re: Update SSD1306 library supporting bigger font Hi Bill, OK. These where settings that supposed to work for both. I will do some more research and will test it first myself before sending an update. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens Bill Beek <[email protected]> Verzonden: zondag 18 januari 2026 16:15 Aan: jallib <[email protected]> Onderwerp: Re: [jallib] Re: Update SSD1306 library supporting bigger font The latest lib make it worst, both displays are now up side down. And the 1306 is now messy and the 1106 behavior is further unchanged. Kind regards, Bill. On Sunday, January 18, 2026 at 3:45:30 PM UTC+1 Bill Beek wrote: Hi Rob, Only for the video together, when used separately the same results on the display On Sunday, January 18, 2026 at 3:21:23 PM UTC+1 Rob CJ wrote: Hi Bill, Are you using both at the same time on the same IIC bus with the same IIC address? That may give problems. I updated the library and used other initialization settings that I received from the other Rob. They should work both for the ssd1306 as well as for the sh1106. Kind regards, Rob ________________________________ Van: [email protected] <[email protected]> namens Bill Beek <[email protected]> Verzonden: zondag 18 januari 2026 12:41 Aan: jallib <[email protected]> Onderwerp: Re: [jallib] Re: Update SSD1306 library supporting bigger font my mistake -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jallib/c6d86474-5d12-4826-b55a-a4c2d74f2e69n%40googlegroups.com<https://groups.google.com/d/msgid/jallib/c6d86474-5d12-4826-b55a-a4c2d74f2e69n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/jallib/8e75facb-27fd-4700-89f4-592250bc2e2an%40googlegroups.com<https://groups.google.com/d/msgid/jallib/8e75facb-27fd-4700-89f4-592250bc2e2an%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]<mailto:[email protected]>. To view this discussion visit https://groups.google.com/d/msgid/jallib/AM6PR02MB4053C37C61C5EC28C09619D8E68BA%40AM6PR02MB4053.eurprd02.prod.outlook.com<https://groups.google.com/d/msgid/jallib/AM6PR02MB4053C37C61C5EC28C09619D8E68BA%40AM6PR02MB4053.eurprd02.prod.outlook.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "jallib" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/jallib/AM0PR02MB40521FC3E960DEB693A4C1F2E688A%40AM0PR02MB4052.eurprd02.prod.outlook.com.
glcd_sh1106.jal
Description: glcd_sh1106.jal
