Added some example code for controlling motor
Move configuration of PWM frequency to initialization of pwm-driver as this is one configuration for all PWM outputs on the slave-board