Hi Mike, Thanks for the feedback.
I could change the _ssd1306_write_byte(_SSD1306_SET_COMPINS) by making SSD1306_MAX_Y_PIXELS adjustable and if it is set to 32 use the other setting as you mentioned. About the clear screen. I cannot clear the screen before the device is initialized (setting start lines and such). I solved this by putting the display off at the start of the initialization but I could move the clear screen before the call where I put the display on. I think that will solve the issue. I will make these changes and upload a new version. Kind regards, Rob ________________________________ Van: 'Mike' via jallib <[email protected]> Verzonden: maandag 31 augustus 2020 22:42 Aan: jallib <[email protected]> Onderwerp: [jallib] Re: JAL Library for SSD1306 graphic display module. Also, if you put the clear_screen() call at the beginning of the init() procedure instead of at the end it will make the display boot up nicely without displaying garbage first. If one cares about that. -Mike On Monday, August 31, 2020 at 4:39:46 PM UTC-4, Mike wrote: I have not used this library, since I wrote my own a while ago. But just a note if you decide to support the smaller 128x32 display... The SetComPins value will have to change in the init() procedure. So... For 128x64: _ssd1306_write_byte(_SSD1306_SET_COMPINS) _ssd1306_write_byte(0x12) For 128x32: _ssd1306_write_byte(_SSD1306_SET_COMPINS) _ssd1306_write_byte(0x02) -Mike On Saturday, July 18, 2020 at 10:43:30 AM UTC-4, RobJ wrote: Hi all, I created a library for the graphic display module using the SSD1306 display controller. For more info (with video) see: http://justanotherlanguage.org/node/321 The library will be available in the next bee package. Kind regards, Rob -- 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 on the web visit https://groups.google.com/d/msgid/jallib/714aefc4-556d-4a3d-b2a7-8acf03bcacbfo%40googlegroups.com<https://groups.google.com/d/msgid/jallib/714aefc4-556d-4a3d-b2a7-8acf03bcacbfo%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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jallib/AM0PR07MB62411B148076886BE1279585E62E0%40AM0PR07MB6241.eurprd07.prod.outlook.com.
