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
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