Search found 3 matches
- Thu Mar 15, 2018 12:52 pm
- Forum: General Discussion
- Topic: PCA9685 I2C communication problem
- Replies: 5
- Views: 11583
Re: PCA9685 I2C communication problem
hi brelec, just checkout my Github repo. Exept setting register Mode2 everything is as you use it. Take a look at the example test file at line 85 onwards. As I reset the chip, I also set the MODE1 register. In the next line (line 88) of the test file, I set the desired frequency of the output. In y...
- Fri Jan 26, 2018 10:38 am
- Forum: General Discussion
- Topic: PCA9685 I2C communication problem
- Replies: 5
- Views: 11583
Re: PCA9685 I2C communication problem
Solved the issue by myself. For all other looking for a solution on this chip: the solution is to close the connection after each command. I'll also post it at https://github.com/brainelectronics/esp32-pca9685 maybe kolban will add this to his code snippets git ;) #include <driver/i2c.h> #include <e...
- Thu Jan 25, 2018 8:04 pm
- Forum: General Discussion
- Topic: PCA9685 I2C communication problem
- Replies: 5
- Views: 11583
PCA9685 I2C communication problem
hey guys, I try to communicate with a PCA9685 16 bit PWM LED driver chip. I've read the docs, datasheet, even Arduino libs how they do it, everything. I'm using an ESP32. Communication with other I2C devices is no problem, but this one drives me crazy :evil: Resetting the chip is no problem, but set...