Output pwm signal with duty-cycle changed when pressing a button.

Dependencies:   mbed

no such method: }shortlog