<commit_before># One Day Workshop for Raspberry Pi GPIO Tutorial

[![Demo for GPIO Game Console Workshop](https://i9.ytimg.com/vi/MudTVTIHFDY/mq2.jpg?sqp=CIWR-vMF&rs=AOn4CLB4lhVrNaBdXY9GAU8dlTCbPbRaCA)](https://www.youtube.com/watch?v=MudTVTIHFDY "Demo for GPIO Game Console Workshop")

## Intro
In this workshop, we will introudce the Raspberry Pi GPIO, including:
1. Basic of electronic circuit
2. How to write the code for the hardware specification
3. Design a game console with simple hardware component

The slide is available on [用Raspberry Pi學GPIO - 自己做遊戲機](https://www.slideshare.net/raspberrypi-tw/gpio-gameconsolestarterkit)


## Environment
[Raspberry Pi 3B](https://www.raspberrypi.com.tw/10684/55/)/[Raspberry Pi 3B+](https://www.raspberrypi.com.tw/19429/57/) + SanDisk 32G microSD  + [Raspberry Pi GPIO Game Console Kit](https://www.raspberrypi.com.tw/2557/gpio-game-console-starter-kit/) + 2017-11-29-raspbian-stretch.img

## Prerequisite
### Install required package and Python module
```shell  
$ sudo apt-get update
$ sudo apt-get install -y x11vnc python-dev python-pip libsdl1.2-dev 
$ sudo pip install spidev evdev
```

### Emulator
1. Download pre-built emultation
```shell  
$ cd ~<commit_msg>* embed youtube video, reference: https://lab.github.com/docs/embed-videos<commit_after># One Day Workshop for Raspberry Pi GPIO Tutorial

steps:
- title: Demo for GPIO Game Console Workshop
  video: https://www.youtube.com/embed/MudTVTIHFDY

## Intro
In this workshop, we will introudce the Raspberry Pi GPIO, including:
1. Basic of electronic circuit
2. How to write the code for the hardware specification
3. Design a game console with simple hardware component

The slide is available on [用Raspberry Pi學GPIO - 自己做遊戲機](https://www.slideshare.net/raspberrypi-tw/gpio-gameconsolestarterkit)


## Environment
[Raspberry Pi 3B](https://www.raspberrypi.com.tw/10684/55/)/[Raspberry Pi 3B+](https://www.raspberrypi.com.tw/19429/57/) + SanDisk 32G microSD  + [Raspberry Pi GPIO Game Console Kit](https://www.raspberrypi.com.tw/2557/gpio-game-console-starter-kit/) + 2017-11-29-raspbian-stretch.img

## Prerequisite
### Install required package and Python module
```shell  
$ sudo apt-get update
$ sudo apt-get install -y x11vnc python-dev python-pip libsdl1.2-dev 
$ sudo pip install spidev evdev
```

### Emulator
1. Download pre-built emultation
```shell  
$ cd ~
{'fraction_non_alphanumeric': 0.11732548359966358, 'fraction_numerical': 0.034482758620689655, 'mean_word_length': 4.624113475177305, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5650861', 'n_tokens_mistral': 905, 'n_tokens_neox': 807, 'n_words': 227}