Git Product home page Git Product logo

Comments (6)

mcarr823 avatar mcarr823 commented on August 25, 2024

I don't have an epd2in9v2, so this is currently untested, but I took a stab at porting the waveshare driver over.
You can try it out here: https://github.com/mcarr823/PaperTTY/tree/epd2in9v2

from papertty.

Uri0533 avatar Uri0533 commented on August 25, 2024

from papertty.

mcarr823 avatar mcarr823 commented on August 25, 2024

@Uri0533 I think it probably can be made to run faster, but it's hard to say without a device to test with.
Right now the code is written more or less the same as the code from Waveshare with only minor modifications.
To potentially make it faster I'd start by tinkering with the display_partial function.
eg. Seeing if it works if the LUT is loaded only once instead of every time, or seeing if set_memory_area and set_memory_pointer can be changed to allow for partial writes.

from papertty.

mcarr823 avatar mcarr823 commented on August 25, 2024

Actually, it might just be the panel.
https://www.waveshare.com/wiki/Pico-ePaper-2.13
https://www.waveshare.com/wiki/Pico-ePaper-2.9
The 2.13 is listed as Partial refresh time: 0.3s
The 2.9 is listed as Partial refresh time: 0.6s

from papertty.

Uri0533 avatar Uri0533 commented on August 25, 2024

from papertty.

mcarr823 avatar mcarr823 commented on August 25, 2024

Interesting that the code for the epd2in13v4 works on the epd2in9v2 at all.
I guess the code is fairly similar. The main difference is the LUT loading.
You could try commenting out the calls to set_lut and see if it makes a difference.

from papertty.

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.