Made GPIOpin build on all machines. Added more functionality.