Updated program to support PWM. Now supports GPIO, AIO, PWM and ISR.