-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Can I use cale-idf in Arduino #37
Comments
Short answer: I've used specific ESP-IDF things regarding SPI Communication (Check for ex: epdspi.cpp ) Why don't you use GxEPD or GxEPD2 that work good and they where made for the arduino framework? |
Hi Martin, thanks for you quick response. |
Oh I understand that’s a pity. What you can do is fork Lilygo EPD47 repository and add rotation based on my class here: Basically add a wrapper before write pixel that will add software rotation before drawing it. It’s a pity Lilygo did not add them themselves... then a function setRotation can update this value from 0 to max 3. epd_draw_pixel(x, y, color, framebuffer); you will call your own drawPixel that will take in account rotation just like I’m doing in Ed047TC1::drawPixel(int16_t x, int16_t y, uint16_t color) that’s mostly it. And then if you get it working just make a pull request and we make rotation work also for those using arduino-ESP32 in this epaper. |
@cultur98 tell me what are your plans and if I can help somehow. This will remain open till Friday 19.03 waiting for your feedback |
@martinberlin |
Alright perfect. Otherwise just suggest in the rotate issue from Lilygo repository (Maybe just copy my proposal) |
Hi @cultur98 please check my update in Lilygo repository for the EPD47 parallel epaper |
Hi Martin,
very nice work!
It might be a stupid question but I don't
have issues making a fool of myself. .-)
Can I use the library in Arduino?
The text was updated successfully, but these errors were encountered: