-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Tracking PR: epdiy v7 and dynamic display configuration #251
Conversation
Just tested this with a V7 board and this configuration and the examples/demo program. The beginning with the "Loading demo" scroll-bar runs fine (A bit slow but OK) // Using EPD_LUT_1K it hangs directly at the beginning
epd_init(&epd_board_v7, &ED097TC2, EPD_LUT_64K);
// Set VCOM for boards that allow to set this in software (in mV).
epd_set_vcom(1560); Then when it's trying to load the picture it hangs with this error:
Valentin maybe there is a way to make that error numbers more verbose? Most of the errors I'm getting are of the last type described. Like it would be some kind of memory corruption when the bus_speed is too high. After playing a bit more with this I could also get the demo to work. I think this should be somehow be pre-configured for most examples to avoid the users getting frustrated with the first tries. Further notesI'm planning to do an additional pull-request once this is merge is done and fix the JPG decoding examples. They still use EPD_WIDTH / HEIGHT constants that should now be replaced by epd_width() and epd_height(). extern "C" {
#include "epdiy.h"
} So I fixed it declaring EpdDrawError before the highlevel API include. The s3_color_research branch is just a that, an experimental test, that I will pass to a clean PR once all examples are fixed. |
@vroland with this last 2 commits we can already test this examples in IDF 4.4 / Arduino ? |
It does compile in arduino, but for some reason I have to use much slower bus speeds for it to work consistently, probably caused by some stuff arduino is running in the background. I wasted an evening on this already, maybe I can reproduce it by compiling arduino as a component but that will take even more time... :/ |
@vroland just check this error for the weather example
and found this mention in the Platformio ESP32 repository I know that this example is quite specific and has some author references but maybe one day we should do our own weather example that is easier to setup (Out topic for the PR of course!) Additional hint: When using idf component manager I get this warning (Testing USB D+ D- connection with tinyusb) $ idf.py add-dependency esp_tinyusb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome job!
@vroland one additional request before merging this in master: @mickeprag can you please also add your thoughts? |
Yes, I agree to do a release before any breaking changes. Also minor fixes could later also be ported to the 1.0 branch if needed. |
Of course, that makes a lot of sense :) |
I'm just missing some updates to the docs and readme, then this can be merged. |
This PR tracks V7 hardware development and software updates. List of tasks: