forked fromKenKenMkIISR/picoinvader
- Notifications
You must be signed in to change notification settings - Fork1
prashantkamdar/picoinvader
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Based onDaft-Freak's execellent work
Fork ofKenKenMkIISR
Please ensure you have the pre-requisites installed and have raspberry pi's official pico SDK in path
sudo apt install cmake gcc-arm-none-eabi libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlibgit clone https://github.com/raspberrypi/pico-sdk.git ~/pico-sdkecho 'export PICO_SDK_PATH="~/pico-sdk"' >> ~/.bashrcsource ~/.bashrc
Then clone this repo and go into it's path:
git clone git@github.com:prashantkamdar/picoinvader.gitcd picoinvader
Then finally to build it:
cmake -DPICO_BOARD=pimoroni_picosystemmake
Copy the generated UF2 to your PicoSystem
ラズベリーPi PicoにQVGAの液晶を接続して動作するインベーダーゲームです。
小型スピーカーを接続して音声も鳴らせます。
とてもシンプルな回路なので、簡単に製作することができます。
液晶は240x320ドット、コントローラにILI9341を搭載したSPI接続のものに対応しています。
他のパックマン、テトリスなどと違い液晶のメモリから読出しを行うため、MISO端子の接続も必要ですのでご注意ください。
ラズベリーPi PicoのBOOTSELボタンを押しながらPCのUSBポートに接続し、バイナリーファイル invaderpico.uf2 をラズベリーPi Picoにコピーしてください。
ソースプログラムのビルドにはRP2040に対応したコンパイラの他、CMake、pico-sdkが必要です。
SDKが使用できる環境設定をした上で、ダウンロードした拡張子が.c .h .txt .cmakeのファイルを同じフォルダに入れてビルドしてください。
About
Space Invader for Pimoroni's PicoSystem
Topics
Resources
Stars
Watchers
Forks
Packages0
No packages published
Languages
- C94.4%
- CMake5.6%