Comments (9)
This has to be checked by Valentin when he is back but for the moment use another method.
It can be that this combination:
MODE_PACKING_2PPB | PREVIOUSLY_WHITE | MODE_GC16
is not really supported. I must say that I never tried to concatenate so many settings like this. It would be great if you also analyze in the code what is doing to understand better how the library works.
from epdiy.
@j4k32 How does the buffer you're rendering look then? Did you also change the buffer layout accordingly?
from epdiy.
Hi again, sorry for my late response.
@martinberlin MODE_PACKING_2PPB | PREVIOUSLY_WHITE | MODE_GC16 is taken from the highlevel rendering function epd_hl_update_screen so I thought it would be a legit combination (However, the bool previously_white and bool previously_black is always false, so the function never updates the eink with that combination.).
@vroland I use the script imgconvert.py to create the buffer which is copied to the highlevel front_fb, but I have modified the script to json format instead of .h format. The json is then sent to the epdiy over a tcp connection. I first thought it was some kind of mismatch between the sent data and how the data is saved to the buffer, but I get the same result with the dragon-example you provide in the repository. Note: The same buffer (recreated with the epd_difference_image_cropped function) and MODE_PACKING_1PPB_DIFFERENCE works well.
Update: not sure if this is helpful as the waveforms are a black boxes to me, but I've tried with different waveforms and get the same result.
from epdiy.
Note: The same buffer (recreated with the epd_difference_image_cropped function) and MODE_PACKING_1PPB_DIFFERENCE works well.
What do you mean here exactly?
from epdiy.
Dear @j4k32 please give feedback about this issue.
We really do not want to have issues forever open without feedback so those issues marked as "waiting for feedback" have a 2 months limit to get an answer. If you don't answer in this timeframe then the Issue will be closed
from epdiy.
@vroland The dragon buffer provided in the example directory of your repo works fine when rendered using the epd_hl_update_area function, which uses the epd_difference_image_cropped together with MODE_PACKING_1PPB_DIFFERENCE. The stripes occurs when I try to render the dragon buffer using the epd_draw_base function together with the MODE_PACKING_2PPB, but without the epd_difference_image_cropped
from epdiy.
Ok, I see. Which display are you using and can you provide a working example program? It could be either your buffer settings not matching the buffer or an actual bug, that that is easier to test with a reproducible example.
from epdiy.
I am using ED133UT2 display together with epdiy v7 esp32s3 driver board.
As mentioned before, the issue also occurs when loading the dragon example provided in the repo, so you can use that to reproduce. The only thing that needs to be changed is from (in the examples/dragon/main.c)
// enum EpdDrawError _err = epd_hl_update_screen(&hl, MODE_GC16, temperature);
to
enum EpdDrawError _err = epd_draw_base(epd_full_screen(), state->front_fb, epd_full_screen(), MODE_PACKING_2PPB | PREVIOUSLY_WHITE | MODE_GC16, temperature, NULL, state->waveform);
from epdiy.
Related Issues (20)
- ED133UT3 Screen Suport HOT 6
- Having issue while compiling the example code for Lilygo T5-4.7 HOT 1
- v7 firmware and the switch to a ESP32-S3 module HOT 4
- > there any underlying firmware changes in the v7 firmware that wouldn't work on a WROVER chip with the same memory specs? HOT 1
- ED060SCP screens seems rendering is unclear? HOT 11
- Connect lvgl and epdiy directly, any suggestion? HOT 13
- Can I use it with rust? If so, are there any examples? HOT 6
- epdiy v7 - no border connection? HOT 8
- Cutting Legacy Features for Maintainability - Do you use any of them? HOT 6
- Out-of-date documents HOT 2
- Support for ED060KG1 screen HOT 4
- Prepare v7 lcd_driver.c to be ready for IDF 5.3 HOT 5
- is lower psram usage possible? HOT 3
- Why epd_hl_update_area always redraw fullscreen in s3_lcd branch? HOT 9
- Epdiyv7 with ED060SC7
- Slack link is dead HOT 1
- Areas of the screen not in the rendering area will become lighter in color. HOT 30
- epd_renderer_init failing on v7 board HOT 6
- ED060SCL support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epdiy.