Started updating Encoder to use new GPIOPin class