GPIO extension almost working, input still needs fix to the set function