Merge pull request #56 from mesemus/master

Possible typo in PCA9635 library
This commit is contained in:
Rob Tillaart 2017-02-04 16:47:58 +01:00 committed by GitHub
commit 8bdfcfb3f3

View File

@ -22,7 +22,7 @@ PCA9635::PCA9635(const uint8_t deviceAddress)
// TWBR = 12; // 400KHz
_data = 0;
_error = 0;
writeReg(PCA9685_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
writeReg(PCA9635_MODE1, 0x81); // AUTOINCR | NOSLEEP | ALLADRR
}
// write value to single PWM registers
@ -131,4 +131,4 @@ uint8_t PCA9635::readReg(uint8_t reg)
//
// END OF FILE
//
//