Skip to content

Commit 923a1a0

Browse files
authored
Merge pull request #43 from tekktrik/feature/add-mode2-reg
Add access to MODE2 register
2 parents 9017e64 + b3a149e commit 923a1a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adafruit_pca9685.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ class PCA9685:
113113

114114
# Registers:
115115
mode1_reg = UnaryStruct(0x00, "<B")
116+
mode2_reg = UnaryStruct(0x01, "<B")
116117
prescale_reg = UnaryStruct(0xFE, "<B")
117118
pwm_regs = StructArray(0x06, "<HH", 16)
118119

0 commit comments

Comments
 (0)