changeset 15:083ca25d82a2

More accurate min and max position
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Wed, 25 Jun 2014 16:15:17 +0200
parents 01e5a1efec52
children 0cb3f825183e
files maestro.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/maestro.py	Tue Jun 24 10:59:58 2014 +0200
+++ b/maestro.py	Wed Jun 25 16:15:17 2014 +0200
@@ -73,8 +73,8 @@
 
 
 class Servo(object):
-    min_position = 4000
-    max_position = 8000
+    min_position = 3968
+    max_position = 8064
 
     def __init__(self, maestro, index, max_degrees=90, reverse=False):
         self.maestro = maestro