Add pmw methods to calculate output value to analog sensor driver