Comments (5)
@martinberlin I cherry picked your commit and now the text is correct, thanks! I also verified black and red colors as well as that all rotations where correct.
from cale-idf.
Yes I'm using CalEPD and Adafruit GFX IDF as components in the project.
from cale-idf.
Maybe I didn't test rotation right. Will take a look but I don't have one of this with 2 colors.
What you can try and fix it yourself since this was a external contribution that I approved but never had a display to test.
Just try to invert the update loop (check it also for red since it has 2 buffers)
https://github.com/martinberlin/cale-idf/blob/master/components/CalEPD/models/color/gdeh0154z90.cpp#L100
// REVERSE either x or y but start with Y:
for (uint16_t y = GDEH0154Z90_HEIGHT; y > 0; y--)
{
for (uint16_t x = 0; x < xLineBytes; x++)
{
uint16_t idx = y * xLineBytes + x;
x1buf[x] = (idx < sizeof(_mono_buffer)) ? ~ _mono_buffer[idx] : 0xFF;
}
// Flush the X line buffer to SPI
IO.data(x1buf, sizeof(x1buf));
}
As a reference check gdey0154d67
If that works please test all rotation modes to see it works as expected (Write 2 lines one in each color)
And then please make a Merge Request so you contribute to fix the issue.
If you manage to solve it then I will try it with a similar display but only black and merge it.
- - - - If this works you don't have to do anything:
FIX proposed in develop branch Please switch to that branch and test it, also with red, and different rotations. Thanks for your time
from cale-idf.
Thanks for the test. Will merge it into master soon!
Mind that to use this as a component you need to use CalEPD that is in a different repository. Is easier and lighter. Moving this update there also quite soon
from cale-idf.
Latest this weekend develop is merged in master here and then I copy the contents to CalEPD and make a new release
from cale-idf.
Related Issues (20)
- L58Touch sometimes doesn't show x values between about 148 and 272. HOT 3
- Add display.printf like function HOT 1
- Add new display GDEY073D46, 7 colors, 800*480 pixels HOT 3
- Add new display GDEY0213B74. 250*122 4 grays HOT 2
- Add new display GDEQ04Z21 Red/Black ink HOT 1
- Add Gdey0293T74 2.9" 296x128 epaper display HOT 1
- Add GDEY027T91 with support for partial update
- Adafruit GFX needs an update HOT 1
- FT6X36 ISR routine HOT 3
- Add 4 small epapers
- Add 3.7" GDEQ037T31 and 2.9" GDEM029E97 epapers from Good-Display HOT 7
- Fail to find the reason,Why come out an extra black line near the right boarder in Gdey029T94's screan HOT 3
- legal problems HOT 1
- Add waveshare 3.7in epaper display HOT 8
- To Fasani corp and all CALE-IDF supportors regarding 7.5 inch #GDEW075T7 / #GDEY0757T/ #GDEY075Z08 and #GDEW075T8 HOT 2
- Add GDEW0583Z83 648*480 B/R HOT 1
- Add DKE 7.5" B/Red presumably UltraChip UC8179
- Wave12I48RB Build Errors HOT 5
- Add GDEQ042T81 400x300 Black/White HOT 3
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 cale-idf.