PiSupply / PaPiRus

Resources for PaPiRus ePaper eInk displays
https://www.pi-supply.com/product/papirus-epaper-eink-screen-hat-for-raspberry-pi/
Other
346 stars 88 forks source link

Update buttons example script for PaPiRus Zero (automatic HAT detection) #77

Closed tvoverbeek closed 7 years ago

tvoverbeek commented 7 years ago

This PR improves on PR #54 by detecting the HAT automatically (no command argument needed). Also does not prompt to 'run as root' on Raspbian versions with /dev/gpiomem access for user pi. Corrected Papirus Zero GPIO assignments from PR #54 so they match the labels on the board. Added exit script when pressing SW1 and SW2 simulataneously