Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for different resolution oleds #213

Closed
mcer12 opened this issue Aug 10, 2018 · 11 comments
Closed

Documentation for different resolution oleds #213

mcer12 opened this issue Aug 10, 2018 · 11 comments
Labels

Comments

@mcer12
Copy link

mcer12 commented Aug 10, 2018

I work with the library from time to time and always forgot to add geometry parameter for 128x32 display because it's not documented anywhere. It can be found in the pull request but since 128x32 resolution oleds are common aswell, I think it should be pointed out in readme or demo sketches how to make them work.

@ReanimationXP
Copy link
Contributor

+1 on this

@scropion86
Copy link

+1 i was just searching for the same i have to dig in the source code to find it also i didn't find any example
showing how to set other geometry.
i have 0.91 Inch from AE which Resolution is 128 x 32 , if somebody have a working sketch kindly share it

@mcer12
Copy link
Author

mcer12 commented Aug 29, 2018

Instead of

SSD1306Wire display(0x3c, D3, D5);

Init with something like this

SSD1306Wire display(0x3c, D3, D5, GEOMETRY_128_32 );

@ReanimationXP
Copy link
Contributor

ReanimationXP commented Aug 29, 2018

^ this is correct. the only two options are GEOMETRY_128_32 and GEOMETRY_128_64 as of this writing. it defaults to GEOMETRY_128_64. If it's not working for you make sure you've updated to the latest version of the lib.

@LennartHennigs
Copy link

Hi,
could you consider adding different resolutions to the library – or allowing us to define custom resolutions? I am using the WeMos OLED shield which offers 64×48 pixels. That'd be great.

Cheers
l.

@mcer12
Copy link
Author

mcer12 commented Sep 28, 2018

#198

@LennartHennigs
Copy link

ah, thx! that helps.
(will that be merged back into the master branch?)

@mcer12
Copy link
Author

mcer12 commented Oct 2, 2018 via email

@ReanimationXP
Copy link
Contributor

I've added a PR with updated documentation for the resolutions that are already supported, if someone wants to merge it. #217

@stale
Copy link

stale bot commented May 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label May 18, 2019
@marcelstoer marcelstoer added stale and removed wontfix labels May 24, 2019
@stale stale bot removed the stale label May 24, 2019
@stale
Copy link

stale bot commented Nov 20, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Nov 20, 2019
@stale stale bot closed this as completed Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants