Skip to content

Commit 47a75a2

Browse files
Passing debug flag from PWM to Adafruit_I2C.
1 parent 4d92bf1 commit 47a75a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Adafruit_PWM_Servo_Driver/Adafruit_PWM_Servo_Driver.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ class PWM :
2828

2929
def __init__(self, address=0x40, debug=False):
3030
self.i2c = Adafruit_I2C(address)
31+
self.i2c.debug = debug
3132
self.address = address
3233
self.debug = debug
3334
if (self.debug):

0 commit comments

Comments
 (0)