Added menu structure to pwm test  code.