# ButtonCtl

### Dependencies
- RPi python3-rpi.gpio
```sh
sudo apt install python3-rpi-gpio
```
- OpenSSH client
```sh
sudo apt install openssh
```
- circuitpython libraries for neopixel
```sh
pip3 install adafruit-circuitpython-neopixel
```
### Install
```sh
cd buttonctl/1og
./service.sh # create systemd .service file
sudo systemctl enable --now buttond # start and autostart at boot
```
### Wiring
- pin 23: left button input (pull-down)
- pin 24: center button input (pull-down)
- pin 22: right button input (pull-down)
- pin 18: neopixel data
- pin 4: (pull-down)

- led strip:
```
(25-36) (13-24) (1-12)
AERIE KELLER
(counter-clockwise)
```
## Usage
### Open Door
◼
◼
◼
→ Left Button
◼
◼
◼
→ Middle Button
◼
◼
◼
→ Short Delay
◼
◼
◼
### Abort
◼
◼
◼
→ Left Button
◼
◼
◼
→ Left Button
◼
◼
◼
### No-Op
◼
◼
◼
→ Middle Button
◼
◼
◼