Browse Source

trying to find a bug

digital 8 years ago
parent
commit
47da9e3dca
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pin/__init__.py

+ 1 - 0
pin/__init__.py

@@ -178,6 +178,7 @@ class PCEngine(PinControllerBase):
         self.set_state(1)
     def set_speed(self,speed):
         self.pin_analog.output(speed)
+        PinBase.output(self,speed)
         self.speed = speed
     def set_state(self,state):
         """state is integer and specifies if the engine should be turned on (1) or turned off (0) """