OctoWS2811 Basic Test example

Status
Not open for further replies.

jeffh

Member
Hey,
I've got the OctoWS2811 Basic Test example up and running. Was wondering if there are any additional resources aside from the examples and the library page that I could reference to understand the code a bit more. I'm exploring the option to move to the FastLED library, but I've had some issues getting that example to run correctly. Have posted to that forum for help there.

Here's a sample of the type of animation I'm looking to program (done using the FastLED library)...
Video: https://www.dropbox.com/s/rdb9fmjz6d0ywz6/Video 2017-11-05, 2 42 43 AM.mov
Code: https://gist.github.com/anonymous/cf4efc6b1c0784afe329aeda563e33ff (using a different type of strip and without the teensy/octows2811)

I'm currently just testing with one LED strip 146 pixels long. Will be scaling that to two strips of longer lengths. Both playing the same animation, but one will have the start time offset.

Any help pointing me in the right direction would be appreciated!
Thanks,
Jeff
 
Hey again,
I've now been trying to work from the OctoWS2811 Rainbow example and have been making progress with that but running into troubles again trying to deconstruct that code.

I've got as far as having the LED strip fade between white and color. It's just not the right color and I'm not sure why. I've altered the example code to only display blue, while any red/green colors are displayed with a saturation of 0, so they instead display white. However, the blue values are being displayed yellow. Here is the code I'm working with. Changes I've made commented in caps...

Rainbow.ino - https://gist.github.com/anonymous/11c9ce7e75779f296d595efc70c92176
MakeColor.ino - https://gist.github.com/anonymous/31fea9afca2de93f4cd0bf539c108aa4

Also, I'm wondering if there's something I can change to have the number of LEDs displaying color be less? Say something like 5-10% of the LED strip?

Thankful of any help with this!
 
Status
Not open for further replies.
Back
Top