Comments (5)
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](https://private-user-images.githubusercontent.com/3843162/293315292-1bbea1af-fb73-4b5c-b99a-4192ee77ed64.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIyOTE1NjgsIm5iZiI6MTcyMjI5MTI2OCwicGF0aCI6Ii8zODQzMTYyLzI5MzMxNTI5Mi0xYmJlYTFhZi1mYjczLTRiNWMtYjk5YS00MTkyZWU3N2VkNjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MjlUMjIxNDI4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODExODVhMzYxOWNmZjI5NWM2ZmU3NGQ1ZjgwNzM0NmMzODE0NGQ2NGE0YmZjNjIwZjEyZTRhYTZkZTIyZTZjYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.d4jFnXgrBDgc4grl21j4AvXhxZH2nkyJI8jb1mRsil8)
from zerowriter1.
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.
There is no way to just reference the 4in2 v2 driver?
from zerowriter1.
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.
https://github.com/zerowriter/zerowriter1/tree/waveshare_2.2
a rev 2.2 branch
from zerowriter1.
Related Issues (17)
- 2.2 branch doesn't work on v2.2 display HOT 19
- 2.2: Wifi NetworkManager dead HOT 1
- 2.2 Display latency related issues HOT 1
- Missing piece in stl files? Are Hinge1.stl and Hinge2.stl supposed to be identical? HOT 4
- Are the four cylinders in DisplayHousing.stl used? HOT 3
- image file for pi imager? HOT 1
- Incoming: Inkplate Port
- Incoming: Waveshare IT8951 port (HD-series, 6")
- Ongoing: Goodisplay 5.79" development
- Include batteries? HOT 1
- Using with other Keyboards HOT 1
- QR-Code and the Ampersand HOT 1
- Linebreak after ~35 characters HOT 2
- Cracking the 4in2 v2 (2.2) partial refresh latency HOT 7
- Adapt zerowriter to 2in9v2 display HOT 2
- Repo contains OS X DS_Store files HOT 2
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 zerowriter1.