pico-extras
pico-dvi-rs
Our great sponsors
pico-extras | pico-dvi-rs | |
---|---|---|
6 | 1 | |
436 | 8 | |
4.4% | - | |
2.6 | 7.3 | |
about 1 month ago | 4 months ago | |
C | Rust | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pico-extras
-
Raspberry Pico C: Remote Sensor
In the Pico Extras repository, find the external/pico_extras_import.cmake file
-
VGA driver using PIO and DMA on the RP2040
[2] https://github.com/raspberrypi/pico-extras/tree/master/src/c...
- External Quad SPI pins?
-
i2s
pico-extras
-
SD/MMC reading/writing with C SDK
There is https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_sd_card which is SDIO based, and works for reading/writing sectors, but very bare bones prototype atm.
-
A Closer Look at Raspberry Pi RP2040 Programmable iOS (PIO)
I've just been getting to grips with the PIO, they are a lot of fun to program. Whilst the instruction set is very limited with only enough memory for 32 of them you can do some pretty sophisticated things. A key part of the flexibility is the ability to execute incoming data as instructions. You can stream in a mixture of data and instructions via the DMA, the PIO separates the two and uses the instructions to modify execution so a simple loop becomes a lot more flexible. You can easily sync several of them up to. The scanvideo library: https://github.com/raspberrypi/pico-extras/blob/master/src/c... which is for producing video signals (like VGA) on the fly with scanlines supplied by the CPU is a good example of what's possible. You can have multiple scanline PIO running at once, each decoding a compressed RLE format including transparency and it composes them all together on the fly.
If you've ever played one of the Zachtronics games (in particular Shenzhen IO) it feels like the programming in one of those games. Tight constraints but major possibilities when you think about it for a while.
pico-dvi-rs
-
VGA driver using PIO and DMA on the RP2040
I have the Adafruit DVI board and have been hacking on it some. It's more fun than should be allowed.
There's a project to get this running using Rust[1]. Currently it outputs the blue channel with sync, but has trouble with the other two channels. I don't have a hardware lab with scope, logic analyzer, etc., so it's not easy for me to debug.
In the meantime, I've been doing some experiments in the C codebase as well[2], mostly in the direction of proportionally spaced bitmap text, using the fonts in the X11 distribution.
[1]: https://github.com/DusterTheFirst/pico-dvi-rs
[2]: https://github.com/Wren6991/PicoDVI/pull/48
What are some alternatives?
no-OS-FatFS-SD-SPI-RPi-Pico - A FAT filesystem with SPI driver for SD card on Raspberry Pi Pico
picodvi - [Moved to: https://github.com/Wren6991/PicoDVI]
rpi - Microcontroller projects (RPi, Arduino, ATTiny85, ESP, Pico, STM8/32)
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
pico-examples