Comments (5)
I assume you use an 16-bit avr architecture? Disabling default features removes the graphics parts, but I think that can be fixed by dividing the width by 8 first. But I need to check if the width is always dividable by eight.
from epd-waveshare.
Sorry, I gave no context. The target is the Atmega 328P (Arduino Micro) and the Buffer does not fit in memory in the first place.
But why is an extra buffer in RAM used? I wrote an implementation where I implement the DrawTarget
trait so that the image is written directly into the display's buffer. (That could be slower of course, I haven't tested it yet)
from epd-waveshare.
Its to change partial things of the full image, e.g. if you have a clock in one corner or similar things but the display doesn't allow partial updates. But yeah for the same reason as yours its an optional feature, although enabled by default
from epd-waveshare.
Oh, do you mean that some code would change this pub const WIDTH: u32 = 800;
?
I am not expert enough in Rust and macros, so I just assumed that this literal would never change.
from epd-waveshare.
the dimensions are defined once for each display size (but don’t change).
from epd-waveshare.
Related Issues (20)
- Epd7in5: index out of bounds on display.clear(TriColor::White) HOT 3
- Problems with Pico-ePaper-7.5-B HOT 1
- epd1in54_v2 does not show anything until LUT is set. HOT 1
- Epd4in2::new() waits forever
- Proposal(s): support for display timeouts, introducing a local Error type HOT 1
- Some 1.54" display links in README 404. HOT 11
- Example 2in13bc gets stuck on `Epd2in13bc::new()` HOT 1
- Support for 12.48inch module HOT 6
- MH-ET LIVE epaper support HOT 1
- How should new devices be added? HOT 1
- Remove git dev dependencies HOT 1
- How can I retrieve the old (currently displayed) screen data?
- Cannot build example epd2in13_v2 HOT 2
- 2.9" Display - Partial Quick Refresh Support HOT 3
- Bits/Bytes in epd7in5b_v2 NUM_DISPLAY_XXXXX HOT 1
- Waveshare 7.5 (B) v3 stuck on Display7in5 HOT 6
- New release? HOT 3
- Cannot render with MonoTextStyle HOT 2
- How can I create a SpiDevice to initialize a WaveshareDisplay? HOT 4
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 epd-waveshare.