Changing to use files to access gpio