15 lines
308 B
Markdown
15 lines
308 B
Markdown
|
# GoDoor
|
||
|
|
||
|
[kdoorpi](https://git.k-space.ee/arti/kdoorpi) but in Go
|
||
|
|
||
|
Uses Go native [libgpiod](https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/about/)
|
||
|
library to access the gpio pins in cross platform way.
|
||
|
|
||
|
# Cross compile
|
||
|
|
||
|
GOOS=linux GOARCH=arm64 go build
|
||
|
|
||
|
# Test deploy
|
||
|
|
||
|
scp godoor rpi4b:
|