A little testing done.  I forgot to include this change:

The SetMultiplexRatio value will have to change in the init() procedure. 
 So...

For 128x64:
_ssd1306_write_byte(_SSD1306_SET_MULTIPLEX)
_ssd1306_write_byte(0x3F)

For 128x32:
_ssd1306_write_byte(_SSD1306_SET_MULTIPLEX)
_ssd1306_write_byte(0x1F)

EDIT: After looking in the library Rob has beat me to it. :)  It's 
programmed as WIDTH-1.  Great!

Still need more testing, as I'm finding a strange bug when using vertical 
and page mode together.  This isn't part of the library, but I think it has 
exposed another difference between 128x64 and 128x32 displays.

Regards,
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jallib/cf38d428-5051-4550-8e78-3b166bdf3059o%40googlegroups.com.

Reply via email to