Update pwm and flashc examples