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

Changing LEDS freezes I2C connection #692

Open
zzxjl1 opened this Issue Dec 8, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@zzxjl1
Copy link

zzxjl1 commented Dec 8, 2018

I‘m currently using esp8266 as a master and arduino nano is a slave, i seems to be fine when i leave it idle, but when there is some light effects going on on my arduino nano the connection freezes and never recover.
NOTE: It won’t have the same issue on my esp8266,is this a performance problem?

@focalintent

This comment has been minimized.

Copy link
Member

focalintent commented Dec 8, 2018

I2c makes heavy use of interrupts on the nano - which doesn’t mesh well with ws2812 style led timings - https://github.com/FastLED/FastLED/wiki/Interrupt-problems

@zzxjl1

This comment has been minimized.

Copy link

zzxjl1 commented Dec 9, 2018

Thanks for your help, but when the light effect is done is it possible to reset the connection?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment