Repository navigation
Add Milk-V Duo 256M port of 2.13" mono PixPaper test program - #9
Merged
wigcheng merged 1 commit intoSep 21, 2026
Merged
Conversation
Port of the 2.13" mono PixPaper test program to the Milk-V Duo 256M, driving the panel over /dev/spidev0.0 at 5 MHz with DC/RST/BUSY on gpiochip0 lines 22/24/23. Supported run modes, selected by the first argument: (none) full mono refresh of img0, repeated every 30 s fast same image with the 0xC7 fast update sequence gray4 4-level grayscale via the 153-byte lut_4G waveform partial two-image partial swap demo clock HH:MM:SS, partial refresh once per second The partial and clock demos use a 250x128 landscape frame buffer (16-byte stride on the gate axis), of which 122 rows are visible. Signed-off-by: Sean Chang <seanwascoding@gmail.com>
Contributor
|
Nice work! Thanks for your effort! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Port the 2.13" monochrome PixPaper test program to the Milk-V Duo 256M.
The test program drives the panel through
/dev/spidev0.0at 5 MHz, with DC/RST/BUSY connected togpiochip0lines 22/24/23.Supported run modes are selected by the first argument:
(none): Full monochrome refresh ofimg0, repeated every 30 secondsfast: Same image using the0xC7fast-update sequencegray4: 4-level grayscale using the 153-bytelut_4Gwaveformpartial: Two-image partial-refresh swap democlock:HH:MM:SSclock with one partial refresh per secondThe
partialandclockdemos use a 250 × 128 landscape framebuffer with a 16-byte stride on the gate axis. The panel has 122 visible rows.Hardware
/dev/spidev0.0gpiochip0line 22gpiochip0line 24gpiochip0line 23