test_pwm function will fade a led on the stk600