These are chat archives for Makuna/NeoPixelBus

20th
Jul 2016
sticilface
@sticilface
Jul 20 2016 14:55
just spent the entire day with the goal of getting the new asyncuart working with adalight project connected to the TV. a little aside.... its been a total mare, but not anything to do with neopixels. i was keen to try it as this project takes serial data in at 2,000,000 baud and fires it out on the neo pixels. i get a fair amount of flickering with the UART method due to the wifi, so i thought this might improve things (along with the RX buffer). I also use platform io, as i define difference methods for different lights i don't want adalight on the lamp upstairs for example... so first thing was getting platformio working, with git head... always a challenge when the linker and platform.txt things change... then turns out there is a bug with serial.begin() being called twice (issue posted esp8266/Arduino#2305), but i've since hooked it up going back to commit edba2d2829db3b9788e7fc96a9dfeb40bf067326 and the results look very promising. so thank you :)
also... in the wiki is says that DMA method does not work on ESP-01. as the pin is not exposed. I'm pretty sure that it is. its just serial RX, which is definitely exposed no?
Michael Miller
@Makuna
Jul 20 2016 14:58
Esp labels it as rx when it's actually rx1 not rx0.
Serial has a swap function that will allow it to work, but dma cant.
sticilface
@sticilface
Jul 20 2016 15:02
does the RX pin differ between models of ESP then?
I've got a bunch of ESP12s and I've hooked up the standard RX pin and the DMA method works just fine.
Michael Miller
@Makuna
Jul 20 2016 15:09
Labeling across models of the pins is the biggest problem with Esps. Esp12e correctly label rx0 as rx. I know esp01 does it wrong and I thought there was one other less common model.
sticilface
@sticilface
Jul 20 2016 15:10
ah ok!
in that case.... in order to receive serial on the 12E, you must call serial swap no? when using generics, otherwise RX with be on RX0 and the IDE assumes it is RX1
Michael Miller
@Makuna
Jul 20 2016 15:13
When using dma on 12e, the swap s
Should allow Serail to recieve, not tested.
sticilface
@sticilface
Jul 20 2016 15:25
i've not tested that either, shall put it on the list!