The Random Function Library - mrp & bmd - Simple

mrp (move relative position) is a function that will move a motor for a set distance at a set speed. This is probably the simplest way to move a lego robot. mrp starts a motor moving. The motor will stop after the wanted distance is achieved, but the CBC will continue going through the program unless you put a bmd.