Updated pwm example to use mHz unit