These are chat archives for Makuna/NeoPixelBus

31st
Aug 2017
Ed Skinner
@edsmskinner
Aug 31 2017 01:28
@Makuna Thanks for the info. So this library uses hardware to drive the LED strips for esp8266 and not bitbang? If so could you point me to the api calls? Thanks so much
Michael Miller
@Makuna
Aug 31 2017 01:41
What do you mean by "pointing you to the API calls"? The NeoPixelBus github has a Wiki and the samples provided show the basics.
Ed Skinner
@edsmskinner
Aug 31 2017 04:05
Sorry for not being clear. I have been using the bitbang method to drive LED strips and while it works the problem are interrupts and serial communication is choppy at best. It is my understanding right or wrong that the "hardware" method of driving LED strips are not subject to this problem. I thought that it was only available using the ESP32. I also thought I read you saying that it is available for the esp8266. If so I am using the esp8266 as well so I was asking which part of the api uses the "hardware" method. Perhaps it is all of it and if that is the case then I will work from the wiki. Please let me know if this is the case and if not then what part of the api uses the "hardware" method. And as a lot of other folks have said I thank you as well for all the hard work you have put into this. Thank You!
Michael Miller
@Makuna
Aug 31 2017 05:42
The default implementation for Esp8266 is the DMA hardware method, it has some restrictions but they are listed here in the Wiki
You should not see any flicker as long as it is setup correctly (usually 3.3v to 5v level adjuster or no not enough amps for the pixels). Note, some of the newer 2812b pixels may require the use of the NeoWs2813Method (again, on Esp8266, this defaults to the DMA version underneath)
Michael Miller
@Makuna
Aug 31 2017 20:53
AND, something that was just discovered; the Adafruit HUZZAH ESP8266 board that has built in level shifters for RDX0/GPIO3 pin is designed so that the pin is an "input"; but it is needed as an "output"; so you must use the UART method with this board.