Giter VIP home page Giter VIP logo

Comments (5)

jacobsmith avatar jacobsmith commented on August 14, 2024 3

I haven't looked much at modifying the LUTs for the V2 screen, but I do have a refactor of the original code that makes it easier to unit test as well as test different scenarios on a laptop without needing the full setup (editing directly on the Zero 2 was getting slow and annoying). It is able to use PIL and tkinter to display the version of the screen on the laptop and should be able to update it to allow real-time typing and such soon. Right now, it's all hardcoded as tests to verify things are working.

image

from zerowriter1.

zerowriter avatar zerowriter commented on August 14, 2024

Cool idea! I'll try this out.

For editing on the pi directly, i've been using a SMB server and just mapping the drive and using my desktop editor.

from zerowriter1.

holmesha avatar holmesha commented on August 14, 2024

There is no way to just reference the 4in2 v2 driver?

from zerowriter1.

zerowriter avatar zerowriter commented on August 14, 2024

There is no way to just reference the 4in2 v2 driver?

you can drop in the 4in2v2.py driver file from waveshare https://github.com/waveshareteam/e-Paper/blob/master/RaspberryPi_JetsonNano/python/lib/waveshare_epd/epd4in2_V2.py

but you'd have to change a few lines of code in the zerowriter main.py program that reference the driver.. (line 21: from waveshare_epd import new4in2part)

and the implementation is a bit different for the v2 driver -- in particular the way they reference partial updates and initializing the display (display_Partial)

also the V2 driver lookup tables are defaults so probably slow. they likely would need to be modified, which i could help with, but i don't have a V2 board to play around with yet.

so the short answer is: no, a drop-in driver won't work, you'd have to tweak the code a bit.

from zerowriter1.

zerowriter avatar zerowriter commented on August 14, 2024

https://github.com/zerowriter/zerowriter1/tree/waveshare_2.2

a rev 2.2 branch

from zerowriter1.

Related Issues (17)

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.