In this workshop, we will introudce the Raspberry Pi GPIO, including:
- Basic of electronic circuit
- How to write the code for the hardware specification
- Design a game console with simple hardware component
The slide is available on 用Raspberry Pi學GPIO - 自己做遊戲機
Raspberry Pi 4B/2G/Raspberry Pi 3B+ + SanDisk 32G microSD + Raspberry Pi GPIO Game Console Kit + 2021-01-11-raspios-buster-armhf-full.img
$ sudo apt-get update
$ sudo apt-get install -y x11vnc python3-dev python3-pip libsdl1.2-dev
$ sudo pip3 install spidev evdev
- Download pre-built emultation
$ cd ~
$ wget http://bit.ly/2OnUMwh -O ~/advmame
- Create RC file
$ cd ~
$ chmod 755 advmame
$ ./advmame
- Download Super Mario ROM
$ cd ~
$ wget http://bit.ly/2K1dhUb -O ~/.advance/rom/suprmrio.zip