Fixed stirrer beahvior
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user