]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
This line also causes a similar write error
authorChristopher Alessandro <calessandro0827@gmail.com>
Sun, 19 May 2019 21:06:27 +0000 (14:06 -0700)
committerChristopher Alessandro <calessandro0827@gmail.com>
Sun, 19 May 2019 21:06:27 +0000 (14:06 -0700)
src/adafruit_blinka/microcontroller/generic_linux/sysfs_pwmout.py

index ce20a9fe228bfcae178781abfa098e2a4a25e9fb..89e0cbb75223b57d921fc509b15fac44e32a2273 100644 (file)
@@ -95,7 +95,7 @@ class PWMOut(object):
         # Look up the period, for fast duty cycle updates
         self._period = self._get_period()
 
         # Look up the period, for fast duty cycle updates
         self._period = self._get_period()
 
-        self.duty_cycle = 0
+        #self.duty_cycle = 0  # This line causes a write error when trying to enable
 
         # set frequency
         self.frequency = freq
 
         # set frequency
         self.frequency = freq