tuupola / pico_effects

Old school demo effects for Raspberry Pi Pico
MIT No Attribution
23 stars 5 forks source link
raspberry-pi-pico rp2040

Old schoold demo effects for Raspberry Pi Pico

Pico effects

Created to test the HAGL graphics library. For quick reference see the recording on Vimeo. If you cannot compile yourself build directory contains a recent firmware for Pimoroni display pack.

Compile

Below instructions assume you do not have Raspberry Pi Pico SDK installed yet.

$ git clone --recursive https://github.com/raspberrypi/pico-sdk.git
$ git clone --recursive  https://github.com/tuupola/pico_effects.git
$ cd pico_effects/build
$ cmake ..
$ make -j8

If the SDK is already installed you can pass the installation path manually.

$ git clone --recursive  https://github.com/tuupola/pico_effects.git
$ cd pico_effects/build
$ cmake .. -DPICO_SDK_PATH=../pico-sdk
$ make -j8

You can then "flash" the firmware by putting the Pico into BOOTSEL mode and copying the uf2 file to the automatically mounted volume.

$ cp firmware.uf2 /run/media/<username>/RPI-RP2/

If you are using macOS the command would be the following.

$ cp firmware.uf2 /Volumes/RPI-RP2

Alternatively you can use picotool to flash the firmware.

$ picotool load firmware.uf2 -f

Run on computer

HAGL is hardware agnostic. You can run the demos also on your computer.

License

MIT No Attribution (MIT-0). Please see LICENSE for more information.