Example 3 Going Backwards Faster ================================ Simulation ----------- .. image:: ../tutorial/code3.gif :alt: not found :align: center Real Life --------- .. image:: ../tutorial/code3real.gif :alt: not found :align: center What does the code do? ---------------------- In this code, the robot moves backward for 1200 ms at speed 1500 Functions Used -------------- motor( motor port, speed) msleep( distance in ms) Function Implementation *********************** .. code-block:: python :linenos: #!/usr/bin/python3 import os, sys sys.path.append("/usr/lib") from kipr import* def main(): motor(0, -1500) motor(3, -1500) msleep(1200) if __name__ == "__main__": main() Rookie Tips ----------- Your robot's ports may be different to ours. Try debugging and trying different ports!