These are chat archives for Makuna/NeoPixelBus

31st
Jan 2018
dguerizec
@dguerizec
Jan 31 2018 12:04
Hello, in some examples, there is a reference to a NeoBitsBase class, but it doesn't exist anywhere in the library.
Example files are: examples/bitmaps/NeoPixelBufferShader/NeoPixelBufferShader.ino and examples/bitmaps/NeoPixelDibTest/NeoPixelDibTest.ino
First commit referencing the name NeoBitsBase is 2b42de88ad6f3d7738710b7f1e6c60da3802f0e3 (tag 2.2.7)
What can I do to make these examples work ?
Michael Miller
@Makuna
Jan 31 2018 20:20
let me check whats going on.
Michael Miller
@Makuna
Jan 31 2018 20:37
@dguerizec Thanks for finding this issue. In one of the name cleanups in the past, the sample didn't get corrected. For now, replace NeoBitsBase with NeoShaderBase in your sketch. I will get this propagated to a release soon.
Let me know if you hit any other issues in this area.
dguerizec
@dguerizec
Jan 31 2018 23:07
@Makuna it passed compilation when I used NeoShaderBase, but it choked on image.render(...) near the end
I replaced that line with image.Blt(strip, 0); to make it compile, but then I guess the shader is not used
not sure what method to use to make it work, as NeoBuffer object does not have any Render method...
There is a Render method in class NeoDib, but the signature does not fit