We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e03c5 commit 5d929cbCopy full SHA for 5d929cb
adafruit_drv2605.py
@@ -239,6 +239,7 @@ class Effect:
239
"""Class for adding an effect to the DRV2605 waveform sequence."""
240
def __init__(self, effect_id):
241
self._effect_id = 0
242
+ # pylint: disable=invalid-name
243
self.id = effect_id
244
245
@property
@@ -247,11 +248,13 @@ def raw_value(self):
247
248
return self._effect_id
249
250
251
252
def id(self):
253
"""Return the effect ID."""
254
255
256
@id.setter
257
258
def id(self, effect_id):
259
"""Set the effect ID."""
260
if not 0 <= effect_id <= 123:
0 commit comments