Skip to content

Ws2813 - #328

Merged
focalintent merged 7 commits into
FastLED:masterfrom
alex-Arc:WS2813
Jul 22, 2016
Merged

Ws2813#328
focalintent merged 7 commits into
FastLED:masterfrom
alex-Arc:WS2813

Conversation

@alex-Arc

Copy link
Copy Markdown
Contributor

support for the WS2813 chip both with the normal template, on a port and the newest version of OctoWS2811 has it.https://github.com/PaulStoffregen/OctoWS2811

@focalintent

Copy link
Copy Markdown
Contributor

Thanks for the pull!

I'm going to roll back a couple of the changes in here - namely the 300µs reset time - my experience with the WS28** chips is that the latching time is actually far faster than what's quoted in the data sheet (closer to 5µs in many cases - and I still need to finish going through and updating the defaults) - and that time is what's used to determine how long of a pause for handling interrupts is allowed.

@focalintent
focalintent merged commit d9a7ca7 into FastLED:master Jul 22, 2016
@alex-Arc

alex-Arc commented Jul 22, 2016 •

Copy link
Copy Markdown
Contributor Author

could be that it is faster than 300µs 👍 , but using the default have given me problems if i push the frame rate up. will test more and get back to you on that

@focalintent

Copy link
Copy Markdown
Contributor

Ws2811/ws2812 get twitchy when updated at over 400fps. It's possible that the 2813 has a higher max frame rate (though I doubt it). That time value is specifically about the maximum time allowed between writing led data (though it is also used to provide a backup to the minimum time in case the refresh rate has been overridden).

This code is all about to get massively overhauled for the rgbw support.

@alex-Arc

Copy link
Copy Markdown
Contributor Author

looking forward to the rgbw support. i'm just about to make a pull request for RGBW in octo https://github.com/alex-Arc/OctoWS2811

@unimatrix27

Copy link
Copy Markdown

Line 359 of FastLED.h breaks my project.
case OCTOWS2813: { static COctoWS2811Controller<RGB_ORDER,WS2813_800kHz> controller; return addLeds(&controller, data, nLedsOrOffset, nLedsIfOffset); }

If I comment it out, it works. OCTOWS2813 seems not to be defined anywhere?

@alex-Arc

Copy link
Copy Markdown
Contributor Author

this is true

OCTOWS2813 seems not to be defined anywhere?

and fixed here #346

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

Successfully merging this pull request may close these issues.

3 participants