hpio
hpio copied to clipboard
Perform GPIO from Haskell
Hi! Is this project alive and compatible with rpi4?
Ref: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/ https://github.com/brgl/libgpiod https://fosdem.org/2018/schedule/event/new_gpio_interface_for_linux/
The linux sysfs gpio interface has a race: root@honeybee:/sys/class/gpio>echo 84 > export ; echo out > gpio84/direction bash: echo: write error: Device or resource busy ghci> writeFile "export" "89" >>...
Put everything in the top-level module. Note that this will require a new major version.
See 9a4332d for a discussion of the current implementation and how it's limited.