Added pwm write support to adaptor and updated pwm_pin to calculate pi_blaster value.