Added PWM frequency change

Signed-off-by: Seb Lee-Delisle <sebleedelisle@gmail.com>