def pos3(): sleep_time = 50 / 1000.0 episcommon.rotate(0) for i in xrange(-90, 90, 5): episcommon.rotate(i) time.sleep(sleep_time) for i in xrange(90, -90, -5): episcommon.rotate(i) time.sleep(sleep_time)
def pos1(): episcommon.rotate(-90)
def pos2(): episcommon.rotate(90)