Update README.md

This commit is contained in:
2019-10-02 14:54:24 +08:00
parent c6d3367353
commit 6f1aebb7ef

View File

@ -1,13 +1,13 @@
# DoorUnlocker # DoorUnlocker
透過 C.H.I.P 的 GPIO 控制繼電器來觸發解鎖電磁門的按鈕 透過 C.H.I.P 的 GPIO 控制繼電器來觸發解鎖電磁門的按鈕
## Requirements ## 前置作業
```bash ```bash
sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y
sudo python3 -m pip install -r requirements.txt sudo python3 -m pip install -r requirements.txt
``` ```
## Usage ## 如何使用
```bash ```bash
sudo python3 app.py sudo python3 app.py
``` ```