Updated pwm_test and added logic analyzer output.