- refactored

git-svn-id: http://moon:8086/svn/projects/HendiControl@380 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
2020-04-20 15:50:25 +00:00
parent ec85ab3c73
commit 16b77f0a17
9 changed files with 38 additions and 25 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import serial
class Stirrer_pololu1376(AStirrer):
def name(self):
return "Stirrer_pololu1376"
return "Pololu1376"
def __init__(self, params):
super(Stirrer_pololu1376, self).__init__(params["dt"])
@@ -24,7 +24,7 @@ class Stirrer_pololu1376(AStirrer):
self.ser_send('V')
self.ser_recv()
self.log("Create Pololu1376")
self.log("Created")
def ser_send(self, cmd):
self.ser.write((cmd + '\r\n').encode())