Skip to content

Commit 8bdfcfb

Browse files
authored
Merge pull request RobTillaart#56 from mesemus/master
Possible typo in PCA9635 library
2 parents 240ebce + fe228e7 commit 8bdfcfb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

libraries/PCA9635/PCA9635.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PCA9635::PCA9635(const uint8_t deviceAddress)
2222
// TWBR = 12; // 400KHz
2323
_data = 0;
2424
_error = 0;
25-
writeReg(PCA9685_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
25+
writeReg(PCA9635_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
2626
}
2727

2828
// write value to single PWM registers
@@ -131,4 +131,4 @@ uint8_t PCA9635::readReg(uint8_t reg)
131131

132132
//
133133
// END OF FILE
134-
//
134+
//

0 commit comments

Comments
 (0)