Tried using switch

Dependencies:   FastPWM MODSERIAL QEI mbed

no such method: tip