°°° °°° ° °°° ° °°° ° °° ° ° °° ° °° ° ° °°°°° ° °° °°° ° °° °°° ° ° °°° °° °°°
PiCO Rider - Demo by Addict labs for Rapsbery PI Pico 2.. . .
Code: Mx [mxadd@mxadd.org], support RTS
Music: XTD
GFX: Mx (3d), Suule (2d)
This demo uses portion of MOD file player by rombankzero, thanks!
°°° °°° ° °°° ° °°° ° °° ° ° °° ° °° ° ° °°°°° ° °° °°° ° °° °°° ° ° °°° °° °°°
Tools: PI PICO SDK 2.0 (14_2_Rel1)
NOTES:
To run this demo, you need:
* RP2350 (Rapsbery Pi Pico 2)
aaand use PicoRider_PDP.uf2:
* Display - ST7789 (PICO Display Pack 2.0 (PIM580))
* DAC UDA1334A for sound, wiring below
- DIN --> PIO 9
- BCLK --> PIO 10
- LRCLK --> PIO 11
- VIN --> 3V3 (PIN 36 or 40)
- GND --> GND (PIN 38)
ooor use Pimoroni Pico VGA Demo Base (PicoRider_VGA.uf2), in that case just connect capable VGA display (demo outputs 320x240 @ 60Hz), DAC output is used for sound.
ooor DIY - in that case for the VGA use 500, 1k, 2k, 4k and 8k resistors ladder on GPIO 5 - 0 for R, GPIO 10 - 6 for G and GPIO 15 - 11 for B, HSYNC is on GPIO 16, VSYNC is on GPIO 17,
for audio use UDA1334A pinned to GPIO 26 (DIN), 27 (BCLK) and 28 (RLCLK) (VIN --> 3V3, PIN 36 or 40, GND --> PIN 38) ... have fun!
(details/schematics are in: https://datasheets.raspberrypi.com/rp2040/hardware-design-with-rp2040.pdf)
Full source code is included, no external dependencies besides PICO SDK is needed.
To compile this demo (to make pinout adjustments, or to implement PWM audio :D), you need PI PICO SDK 2.x, AND ... you need to copy SDKMod\pico_arm_cortex_m33_gcc_ns.cmake to
<SDK_LOCATION>\.pico-sdk\sdk\2.1.1\cmake\preload\toolchains\
This is to make the the -mfloat-abi=hard usage possible.
°°° °°° ° °°° ° °°° ° °° ° ° °° ° °° ° ° °°°°° ° °° °°° ° °° °°° ° ° °°° °° °°°