slotUI/freeslot.py

changeset 116
c2fc650cc48f
parent 100
039ab094f79b
child 139
7127e7082ee0
--- a/slotUI/freeslot.py	Sun Dec 02 19:19:23 2012 +0100
+++ b/slotUI/freeslot.py	Sun Dec 02 19:54:14 2012 +0100
@@ -161,6 +161,14 @@
             value = chr(ord("A") + (value-10))
         return self.com.query( "S%i%s" % (carid, value) )
 
+    def fueldivisor(self, value):
+        """
+        Set the minimzm controller speed for a car
+        """
+        if (value<0) or (value>255):
+            return "ERR - invalid value"
+        return self.com.query( "F:%s" % (value) )
+
 
     def setmode(self, mode):
         """

mercurial