Change GPIODriver methods to work with arbitrary pins instead of hard coded pins.