Logical control algorithm for lab 4

Dependencies:   Motor mbed

no such method: tip