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

SSD1308 OLED support #2

Merged
merged 12 commits into from
Sep 3, 2011
Merged

SSD1308 OLED support #2

merged 12 commits into from
Sep 3, 2011

Conversation

schamp
Copy link

@schamp schamp commented Sep 3, 2011

Jeff,

Here's a first cut of the SSD1308 library, with support for clearing the screen, turning it on or off, writing text strings (from a given position) and writing arbitrary data.

I hope to do some more graphics stuff later (boxes, circles, etc.), but it's hard, because the device I'm working with doesn't have enough RAM to support a framebuffer. Maybe I can find a way to make that optional.

Andrew

jrowberg added a commit that referenced this pull request Sep 3, 2011
@jrowberg jrowberg merged commit 46be167 into jrowberg:master Sep 3, 2011
@jrowberg
Copy link
Owner

jrowberg commented Sep 3, 2011

Looks good! For the extra features, you might use something like:

#define SSD1308_EXTRA_GRAPHICS

...and then surround the prototypes and function definitions with #ifdef / #endif. I don't know if this would work, but it might.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants