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

OLED display lib #1

Open
mhaack opened this issue Sep 21, 2017 · 1 comment
Open

OLED display lib #1

mhaack opened this issue Sep 21, 2017 · 1 comment
Labels

Comments

@mhaack
Copy link

mhaack commented Sep 21, 2017

This project is indeed very interesting. Why does it use
https://github.com/euphi/esp8266-oled-ssd1306.git instead of the lib from the platform.io repository?

@luebbe
Copy link
Owner

luebbe commented Sep 21, 2017

Because @euphi has introduced very interesting intermediate classes for DisplayFrame and DisplayOverlay that don't require the

const DisplayNode *self = static_cast<DisplayNode *>(state->userData);

acrobatics like in your DisplayNode.cpp anymore. I first started with your code, but it became to cumbersome for me to add more nodes and different frames, so I continued to search and came across euphis fork. I derived my classes from his.

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

2 participants