diff --git a/components/actor/stirrerpololu1376.py b/components/actor/stirrerpololu1376.py index 0db4f21..632015f 100644 --- a/components/actor/stirrerpololu1376.py +++ b/components/actor/stirrerpololu1376.py @@ -7,7 +7,7 @@ import serial class StirrerPololu1376(AStirrer): def name(self): return "Pololu1376" - + def __init__(self, params): AStirrer.__init__(self, params['dt']) self.isMasterOn = 0 @@ -85,3 +85,10 @@ if __name__ == '__main__': s.process() time.sleep(1) + print("Continious operation") + s.set_duty_cycle(1.0) + s.set_speed(50) + time.sleep(3.0) + + print("Leaving context") +