Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCA9685 Support? #582

Closed
johnyradio opened this issue Mar 22, 2018 · 8 comments
Closed

PCA9685 Support? #582

johnyradio opened this issue Mar 22, 2018 · 8 comments

Comments

@johnyradio
Copy link

hi

can i control the PCA9685 from FastLED running on Arduino Uno or duemilanove?

thx

@tonton81
Copy link

its a free running i2c pwm device, short answer is no. i2c is too slow and you dont control fastled with a consistant pwn

@tonton81
Copy link

unless its normal RGB strip that dont have any chips inside them

@johnyradio
Copy link
Author

I understand that. My thought is not to send PWM over the I2C, but rather to use FastLED for higher level pattern generation, but send control codes over i2c expected by the PCA.

Ie, I'm thinking to exploit FastLED's higher level pattern optimizations, not it's PWM.

@focalintent
Copy link
Contributor

The PCA9685 isn’t currently supported in FastLED. You can use fastled’s color code to set up your led data, and then use your own code to write it out to the 9685, though.

@johnyradio
Copy link
Author

That's what I have in mind.

But is that the best way to generate color patterns for the PCA9685?

Are there any other color pattern libs?

@demlak
Copy link

demlak commented Oct 16, 2018

I also want to use a PCA9685. Any progress on this?

@focalintent
Copy link
Contributor

Again - you can use FastLED to populate your CRGB array, and then write out your own RGB values to the PCA9685 using one of the PCA9685 libraries out there. I'm unlikely to add support for the PCA9685 into FastLED until after the RGBW/RGB16 rewrite is finished (in part because the PCA9685 would want 12-bit color data).

@johnyradio
Copy link
Author

johnyradio commented Oct 25, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants