Added code to use the pwm output, hydro-devel