kbeckmann / bornhack-badge2022-audiovideo

Pico display library for the ST7735

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audio Video player for the Bornhack Badge 2022

This is a crude fork of the ST7735 TFT-Library for the Raspberry Pi Pico.

The AM audio transmitter is implemented based on the PWM example from the Pico examples.

Building and flashing

cd demo

# Download a video
yt-dlp https://www.youtube.com/watch?v=kuNixp-wvWM

# Convert the video and audio to raw data
./doit.sh

# Program the raw data to certain locations on the external flash
picotool load -v -t bin video_data.bin -o 0x10010000
picotool load -v -t bin audio_data.raw -o 0x10800000

# Prepare the cmake build directory and compile
mkdir build
cd build
cmake ..
make -j8

# Now put the badge in boot mode and program the uf2
sudo mount /dev/sda1 /mnt/usb && sudo cp demo/demo.uf2 /mnt/usb/ && sync && sudo umount /mnt/usb

# Done

About

Pico display library for the ST7735


Languages

Language:C 73.6%Language:CMake 26.4%