Skip to content

Instantly share code, notes, and snippets.

View TollyH's full-sized avatar

Tolly Hill TollyH

View GitHub Profile
@TollyH
TollyH / lcd_video.py
Last active April 29, 2024 20:02
Play videos on a 2-line character LCD display by utilising custom characters
# This script plays a series of still frames on a 2-line character LCD display.
# It requires a Raspberry Pi Pico running my uart_lcd application:
# https://github.com/TollyH/raspberry-pi-pico/tree/main/uart_lcd
# Videos must already be split into individual 20x16 images of 1-bit colour,
# tools like ImageMagick and ffmpeg can be used to do that pretty easily.
import os
import serial
import tqdm