Giter VIP home page Giter VIP logo

Comments (5)

caemor avatar caemor commented on June 29, 2024

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.

tippfehlr avatar tippfehlr commented on June 29, 2024

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.

caemor avatar caemor commented on June 29, 2024

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.

ldicarlo avatar ldicarlo commented on June 29, 2024

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.

tippfehlr avatar tippfehlr commented on June 29, 2024

the dimensions are defined once for each display size (but don’t change).

from epd-waveshare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.