Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Commit 15d1b5c

Browse files
committed
Merge pull request #2 from aninternetof/hotfix/CHIP_PWM_Adapter_decl
Changes CHIP_PWM_Adapter to a class declaration
2 parents 918ca8a + 3cdf87b commit 15d1b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Adafruit_GPIO/PWM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def stop(self, pin):
109109
self.bbio_pwm.stop(pin)
110110

111111

112-
def CHIP_PWM_Adapter(object):
112+
class CHIP_PWM_Adapter(object):
113113
"""PWM implementation for the CHIP using sysfs"""
114114

115115
def __init__(self, chipio_pwm):

0 commit comments

Comments
 (0)