updated for servos

This commit is contained in:
shrkey
2016-08-15 15:57:18 +01:00
parent f678367dea
commit d74563afc3
3 changed files with 43 additions and 2 deletions

View File

@@ -248,9 +248,9 @@ class dw_Servo:
if (num == 0):
self.pin = 9
self.pin = 0
elif (num == 1):
self.pin = 8
self.pin = 1
else:
raise NameError('Port must be between 0 and 1 inclusive')