Minimal code to spin the motor

Dependencies:   Encoder MODSERIAL mbed