Got quadrature decoders and mode switch working

Dependencies:   mbed

no such method: tip