Commit graph

71 commits

Author SHA1 Message Date
foamyguy
f93c96ae0e
Update library.properties version
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
2025-07-18 09:53:21 -05:00
Liz
e55ff7183f
Merge pull request #15 from adafruit/pico2_fix
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
update for pico 2 and pico 2w
2025-07-17 18:16:07 -04:00
Liz
ead6b1d6eb
Update src/drivers/dvhstx/dvhstx.cpp
Co-authored-by: foamyguy <foamyguy@gmail.com>
2025-07-17 18:05:38 -04:00
Liz
dc2e901de2
correct pico2 def
Co-authored-by: foamyguy <foamyguy@gmail.com>
2025-07-17 18:03:31 -04:00
Liz
eca8c25362 update for pico 2 and pico 2w 2025-07-17 16:53:28 -04:00
ladyada
dc12c658f8 just gonna change this to be 240mhz overclock so pio/usb is happier. 720p seems to be ok?
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
2025-04-01 16:11:09 -04:00
ladyada
e98fd6a846 add double buffer 2025-03-23 15:26:55 -04:00
Limor "Ladyada" Fried
731f56d6d9
Merge pull request #13 from adafruit/doublebuffering-fix
Fix double buffering & add double buffering to text
2025-03-23 15:17:05 -04:00
636aaee80f document constructor fully 2025-03-19 19:24:44 -05:00
68df90473a clang it 2025-03-19 19:24:00 -05:00
a0f7624c00 Fix double buffering & add double buffering to text 2025-03-19 19:21:53 -05:00
Liz
7b0ae0d870
Update library.properties 2025-03-03 14:03:04 -05:00
5675ddb5e7
Merge pull request #9 from adafruit/640x480-mode-fixes
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
640x480 mode fixes
2025-02-27 11:25:32 -06:00
e21bf9a484 clang-format
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
2025-02-27 11:20:03 -06:00
1a37ef563b Make more interesting use of the palette mode 2025-02-27 09:51:08 -06:00
35a6298bb2 Add 640x480 and 720x400 modes
And permit non-pixel-multiplied palette modes
2025-02-27 09:51:08 -06:00
49c2c71fa6 Ignore generated files 2025-02-27 09:46:53 -06:00
Liz
8a6c26e440
Merge pull request #8 from adafruit/fix-docs
Some checks are pending
Arduino Library CI / build (feather_rp2350) (push) Waiting to run
Arduino Library CI / build (metro_rp2350) (push) Waiting to run
Arduino Library CI / clang (push) Waiting to run
Arduino Library CI / doxygen (push) Waiting to run
document everything
2025-02-26 10:03:26 -05:00
a5a2b632fd doxygen must be quiet
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
2025-02-25 21:49:26 -06:00
6c66a5d8d6 clang-format requires this 2025-02-25 21:46:48 -06:00
4a3c697c80 Run clang-format 2025-02-25 21:43:19 -06:00
ff4f947e69 document everything 2025-02-25 21:41:44 -06:00
e17e2a53c4
Merge pull request #6 from adafruit/default-pinout-with-warning
Some checks are pending
Arduino Library CI / build (feather_rp2350) (push) Waiting to run
Arduino Library CI / build (metro_rp2350) (push) Waiting to run
Arduino Library CI / clang (push) Waiting to run
Arduino Library CI / doxygen (push) Waiting to run
Always provide a pinout, so that CI can proceed
2025-02-25 18:30:13 -06:00
bf210232d3 add header to avoid error during CI not seen locally
Some checks failed
Arduino Library CI / build (feather_rp2350) (push) Has been cancelled
Arduino Library CI / build (metro_rp2350) (push) Has been cancelled
Arduino Library CI / clang (push) Has been cancelled
Arduino Library CI / doxygen (push) Has been cancelled
2025-02-25 18:09:05 -06:00
3105bdde83 add parens suggested by compiler 2025-02-25 18:08:46 -06:00
647420b788 Add a default pinout & reformat 2025-02-25 18:08:13 -06:00
adb43b2546 Use more parallelism in CI
this decreases the total wait time, even if it uses more resources in all
2025-02-25 18:08:13 -06:00
d4afecd70b Undo clang formatting 2025-02-25 18:08:11 -06:00
Liz
dceca16fbc
Merge pull request #3 from adafruit/release_prep
Some checks failed
Arduino Library CI / build (push) Has been cancelled
CI, clang, readme
2025-02-24 13:33:47 -05:00
Liz
d14fff28f4 Update README.md 2025-02-24 13:08:30 -05:00
Liz
b800af811e rp2350 platforms only 2025-02-24 12:35:06 -05:00
Liz
d4a26331dd CI, clang, readme 2025-02-24 12:29:05 -05:00
e45fa843b9
Update README.md 2025-02-24 11:26:33 -06:00
e8953ff49c reduce image size 2025-02-24 11:26:13 -06:00
a78d880d4c
Add files via upload 2025-02-24 11:21:56 -06:00
c1d263f4d1
Update README.md 2025-02-24 11:18:03 -06:00
cd1a9b39c5
Merge pull request #2 from adafruit/textmode-improvements
Textmode improvements
2025-02-24 11:10:52 -06:00
f1535956ef Use camelCase for method names 2025-02-24 11:09:51 -06:00
306a1f297f protect against calling write before begin 2025-02-24 10:18:10 -06:00
5839abece1 this code gets super sad if F_CPU is not 150MHz in the tools menu 2025-02-21 10:43:21 -06:00
c2318b9fd3 fix column alignment 2025-02-21 10:43:10 -06:00
924b1897f2 Add "very low intensity" 2025-02-21 08:31:39 -06:00
c4bb02cc0b Add background color support
RP2350 HSTX RGB111 text mode theory:

 * Cached font in memory is 13 pixels across, organized as the low 26 bits of 32-bit words
 * A 14th pixel is always black
 * Pixels in the cache are all adjacent
 * Each output pixel is 1 byte
 * "R2G2B2" values are created by selecting 2 bits out of the font data and multiplying them by the color value (SWAR)

The old implementation performed one multiply per output pixel, or 13
8-bit multiplies per character.  The new implementation carefully
re-orders the data in the font cache so that 32-bit multiplies can be
performed instead. In this case, 4 multiplies per character are needed.

Each two characters make 28 bytes (7 32-bit values) in the output buffer,
so the character generator is unrolled manually once, making all stores
to the output buffer 32 bits at a time.

This gains enough efficiency that the loop can be written in C instead
of assembler and also there's enough time to add background color. The
background color is XOR'd into each output pixel.

The final new trick is reduced intensity: When reduced intensity is
selected, the low bit of the font data is masked away, so that instead
of intensities 0/1/2/3, the possible intensities are 0/0/2/2.

As neither the regular nor reduced intensity text are visible on the
matching background color, there are effectively 8 * 14 = 112 useful
combinations.
2025-02-21 08:20:03 -06:00
e7365903d5 Turn off debug messages 2025-02-19 14:23:20 -06:00
3a79a2067e Add terminal-like behavior. Reformat with clang-format 2025-02-19 14:23:13 -06:00
b4280411cc Test terminal-like printing in the text test 2025-02-19 14:21:51 -06:00
24d8426b8f Correct P/N lane info again 2025-02-19 11:32:04 -06:00
37cb4d6440 Fix size of font cache
The loop copies 96 characters (32 .. 127 inclusive) but storage for
only 95 was allocated. This meant it wrote `line_height` units past
the end of the allocation.

In Arduino, this caused a crash for any subsequent allocation, yum.
2025-02-19 11:24:26 -06:00
ladyada
857cef8b77 name tweak 2025-02-19 12:23:21 -05:00
40857c0f7e I was confused about whether to give the "P" or "N" pin numbers 2025-02-19 10:42:02 -06:00