This repository has been archived on 2019-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
Files
DoorUnlocker/README.md
2018-12-11 00:56:58 +08:00

28 lines
487 B
Markdown

# door-unlocker
透過 C.H.I.P 的 GPIO 控制繼電器解鎖租屋處的電磁門
## Install
1. 安裝 [CHIP_IO](https://github.com/xtacocorex/CHIP_IO)。
```bash
sudo apt-get update
sudo apt-get install git build-essential python3-dev python3-pip flex bison chip-dt-overlays -y
sudo pip3 install CHIP-IO
```
2. 取得這個專案。
```bash
git clone https://git.ntut.com.tw/PinLin/door-unlocker/
```
## Usage
需要以 root 使用者執行。
```bash
sudo python3 app.py
```