Commit graph

147 commits

Author SHA1 Message Date
8fb5ba4339 Export RGB565 framebuffer type 2025-01-24 11:59:21 -06:00
b015674cb6
Merge pull request #5 from adafruit/fixgamma
Some checks failed
Pip / build (ubuntu-latest, 3.11) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.12) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-latest (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
fix gamma curve, it was all broken!
2025-01-16 11:33:04 -06:00
eddb20cb42 ignore generated files 2025-01-15 21:57:01 -06:00
4ef2d552ce show fps in playframes 2025-01-15 21:55:17 -06:00
862b7fb1d5 Fix brightness of high numbered bitplanes
Cycle counting the PIO program, each data word should take 2 PIO clocks of clock_get_hz
while each repetition of the delay loop should take 1 PIO clock.

However, with a non-gamma-corrected ramp, discontinuities (decreases) in brightness were
seen for the bitplanes that needed the additional delay with oe enabled.

Empirically, the value of 128 gives a plausible linear ramp and also fixes the big buck
bunny rendering artifacts with 10 planes.

It also makes the granularity of the on-time twice as fine, by being able to turn off
during either the "clock on" or "clock off" phase of the shift register loading process,
when the output enable time is short. Thus, with 10 bitplanes and a 64x32 panel,
only the most significant bitplane needs any extra delay.
2025-01-15 20:57:59 -06:00
e315eeb3be fix gamma curve, it was all broken! 2025-01-15 16:43:24 -06:00
3658640379
Merge pull request #4 from jepler/add-readme
Some checks failed
Pip / build (ubuntu-latest, 3.11) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.12) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-latest (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
Create README.md
2025-01-15 11:45:59 -06:00
975ed2e128 bump hook versions
Some checks failed
Pip / build (ubuntu-latest, 3.11) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.12) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-latest (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
2025-01-15 11:32:17 -06:00
40b0fa72ad add pre-commit 2025-01-15 11:31:04 -06:00
561c2fa019
Create README.md 2025-01-15 11:28:54 -06:00
26b8eef4f3
Merge pull request #3 from jepler/pybind
WIP: pybindings
2025-01-15 11:25:57 -06:00
aef6a720b9 add actions
Some checks failed
Pip / build (ubuntu-latest, 3.11) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.12) (push) Has been cancelled
Pip / build (ubuntu-latest, 3.13) (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-latest (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
2025-01-15 11:19:25 -06:00
27274f082f document better 2025-01-15 11:17:43 -06:00
c7d822bc60 generate more useful summary 2025-01-15 10:41:03 -06:00
ccd54d62cd start on docs 2025-01-15 10:37:15 -06:00
aeab803caf improve examples 2025-01-15 10:19:26 -06:00
66c5bf124d fix pip install name 2025-01-15 10:19:17 -06:00
e55647d8f7 it's working!!!1 2025-01-14 15:07:59 -06:00
895a5e5458 builds, but broken with weird error 2025-01-14 14:50:43 -06:00
ee8b718621 WIP: pybindings 2025-01-14 11:50:12 -06:00
a2494b9e7b
Merge pull request #2 from jepler/pre-commit-clang-format
let's format our source code consistently
2025-01-14 09:45:37 -06:00
01ca95d283 format code 2025-01-14 09:41:39 -06:00
75989420bd let's format our source code consistently 2025-01-14 09:40:36 -06:00
dfd5513d4e
Merge pull request #1 from jepler/librarify
Convert to a library, write in background
2025-01-14 09:40:00 -06:00
11301998db finish getting triple buffering working. try to blank display at exit (doesn't work) 2025-01-14 09:35:52 -06:00
2b9f9269cb Demo works again 2025-01-14 09:28:03 -06:00
b5a3da095f milestone: it builds (didn't test it) 2025-01-13 13:56:20 -06:00
5792d45f73 working dual matrix setup 2024-12-18 08:41:36 -06:00
56c0cc0cb2 simple case of pixelmap works (one panel, normal & r180) 2024-12-17 14:13:43 -06:00
734cd51cab switch to 64x32 panel. some ghosting(why??) 2024-12-16 10:06:52 -06:00
dc31807568 reorganize in preparation for libifying 2024-12-16 08:33:33 -06:00
b9ec9c2141 swap order of lines & planes 2024-12-15 12:23:46 -06:00
01cf4cc6ed start to make number of planes settable 2024-12-15 11:12:53 -06:00
5f37a0a666 simplify time accounting 2024-12-15 11:06:12 -06:00
fe176f8eda simplify time accounting 2024-12-15 11:05:00 -06:00
dc243e8d15 WIP-faster 2024-12-15 10:56:22 -06:00
c5b94477dc WIP 2024-12-13 11:36:13 -06:00
0b884f3daa WIP 2024-12-12 20:35:55 -06:00
48e729d76c WIP 2024-12-12 20:02:08 -06:00
3ea618d155 WIP depth 2024-12-12 18:50:06 -06:00
07fc021e29 WIP 2024-12-12 18:35:47 -06:00
d9c5673c40 helps if you actually toggle /oe 2024-12-12 15:42:42 -06:00
a6acc53b84 WIP still wrong OE/latch situation makes a ghost but better 2024-12-12 15:22:00 -06:00
5ddecf64f7 it works-ish 2024-12-12 15:15:22 -06:00
71789a43df WIP 2024-12-12 15:04:45 -06:00
d2201985fb it worked just a second ago (almost) 2024-12-12 15:04:06 -06:00
833043f7fd WIP 2024-12-12 13:55:19 -06:00