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

Teensy 4.0 Fastled and Ic2 interrupt #937

Open
philippe488 opened this issue Dec 11, 2019 · 2 comments
Open

Teensy 4.0 Fastled and Ic2 interrupt #937

philippe488 opened this issue Dec 11, 2019 · 2 comments

Comments

@philippe488
Copy link

@philippe488 philippe488 commented Dec 11, 2019

Hello,

Moving from Teensy LC to Teensy 4.0.
I had to change the I2C Library, but now I2C transferts are correct with no error (read and write) in asynchronous mode.
Thje fastled is working nicely with parallel output.
My problem is that I2C gets plenty of errors (time out ) when fastled.show.
I suspect that the brilliant interrupt management of Teensy LC within fastled is not properly working.
Am I right ?

Regards

Philippe

@philippe488

This comment has been minimized.

Copy link
Author

@philippe488 philippe488 commented Dec 11, 2019

LEDS.addLeds<NUM_STRIPS,WS2811,LED_RUBAN_PIN,GRB>(leds,MAX_LED_NB);

my declaration

@philippe488

This comment has been minimized.

Copy link
Author

@philippe488 philippe488 commented Dec 11, 2019

remaining definition
LED_RUBAN_PIN 10
NUM_STRIPS 2
CRGB leds[MAX_LED_NB*NUM_STRIPS];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.