Trying to use GPIO events instead of polling