Change back to pi-gpio and use events
Change back to pi-gpio and use events