Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/b/r/BrickPython-0.4/test/TestMotor.py   BrickPython(Download)
        generator = motor.moveTo( 10 )
        # and invoke the scheduler - disabling normal update processing - while the motor moves to the position
        self.bp.setUpdateCoroutine(Scheduler.nullCoroutine())
        positions = [0,5,11,10,10,10]
        for i in range(len(positions)):