X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/a16e41a5931f14ba620d608a848c3137d27fc489..df7475d1551700280c3f4887d72ffa5d0a3cf11b:/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py diff --git a/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py b/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py index 3a58d64..c149406 100644 --- a/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py +++ b/src/adafruit_blinka/microcontroller/bcm283x/pwmio/PWMOut.py @@ -103,8 +103,8 @@ class PWMOut: # pylint: disable=invalid-name raise TypeError("Invalid duty cycle type, should be int or float.") if not 0 <= duty_cycle <= 65535: - raise ValueError("Invalid duty cycle value, should be between " - "0 and 65535") + raise ValueError( + "Invalid duty cycle value, should be between 0 and 65535") # convert from 16-bit duty_cycle /= 65535.0