Got quadrature decoders and mode switch working

Dependencies:   mbed

unknown revision 'shortlog'