go-epdfuse
go-epdfuse copied to clipboard
How can I access the buttons?
I wrote a small program to catch data from a server and I'm able to display this data on the ePaper screen. But how can I access the buttons on my PaPiRus Zero v1.2 in go?
I found a good solution by implementing this https://github.com/stianeikeland/go-rpio lib. I got access to the PaPiRus Zero pHat Buttons using the following GPIO values:
btn1 = rpio.Pin(21)
btn2 = rpio.Pin(16)
btn3 = rpio.Pin(20)
btn4 = rpio.Pin(19)
btn5 = rpio.Pin(26)
```
This issue can be closed.