These are chat archives for Makuna/NeoPixelBus

3rd
Apr 2016
Michael Miller
@Makuna
Apr 03 2016 07:38
ANNOUNCEMENT: For esp8266 users, the DMA method is now functional and will support as many pixels as you have memory. I tested the output using a logic analyzer with 3000 RGB pixels with no glitches. The esp can only do about 2000 RGBW due to memory.
marksev1
@marksev1
Apr 03 2016 07:49
awesome
so i can upgrade to latest esp arduino version?
sticilface
@sticilface
Apr 03 2016 14:00
@makuna... I'm designing a pcb and want to connect the right pin for DMA.. but I'm not so sure i've got the right pin (can test it for a variety of reasons... including and issue i will post as i can't compile with the latest git)
NeoEsp8266Dma800KbpsMethod; which has the restriction of using GPIO3 pin only and thus it will ignore this parameter. on most diagrams there is no GPIO3...
GPIO13 or TXD?
3DSasha
@3DSasha
Apr 03 2016 14:14
@sticilface I think GPIO3 is pin 7 (RXD) (i not sure )
sticilface
@sticilface
Apr 03 2016 14:23
thans
thanks
Michael Miller
@Makuna
Apr 03 2016 16:38
RXD0 to be precise. It is one of the annoying things with esp8266, the different names for pins, from what is stenciled on the board, what is on the module, what it is referenced from docs, and what is its function. RXD0 is actually function which can be changed as evidenced by my library.
On most, D9 = GPI03 = RXD0
D7 = GPIO13 = RXD2 = HMOSI, which is not the correct pin.
Michael Miller
@Makuna
Apr 03 2016 16:43
On 12e module, it's pin 21, RXD0
sticilface
@sticilface
Apr 03 2016 16:44
oh dear... this is not simple... on the diagram i posted above the first one.. which one is it? RXD?
Michael Miller
@Makuna
Apr 03 2016 16:47
Which diagram, posted two links?
Ah, you said first one, I suspect it's rxd, which pin do you connect to the programmer?
sticilface
@sticilface
Apr 03 2016 16:55
that one
Michael Miller
@Makuna
Apr 03 2016 16:58
Then that is the correct one. The wiki talks about this, the dma shares the pin so when programming, your neopixels may react, important if you rely on only using a few in a long strip and under power it, during programming some react and turn on.
Did you get compile issue with gamma fixed?
sticilface
@sticilface
Apr 03 2016 17:14
ah ok... nope.. could not figure it out..
kinda a weird linking issue.. not there with 2.03... but there with 2.04.. tried moving the _table to a cpp.. didn't work...
well made a load of other errors
Michael Miller
@Makuna
Apr 03 2016 17:16
It's hard for diagnose without an example, can you simplify the code and reproduce and share?
I suspect that you define it in a header though.
Is it defined in the ino?
sticilface
@sticilface
Apr 03 2016 17:21
its all here
ok so its saying multiple definition of `NeoGammaTableMethod::_table'
now your definition of that is in a header file... is that what might cause it if neopixelbus.h is included more than once?
it does have #pragma once in there though
i couldn't reproduce it simply with includes though!
Michael Miller
@Makuna
Apr 03 2016 17:24
(looking)
sticilface
@sticilface
Apr 03 2016 17:28
thanks
Michael Miller
@Makuna
Apr 03 2016 17:29
I can't find EspManager.h, where do I get this library as its not in the library manager list
Michael Miller
@Makuna
Apr 03 2016 17:35
I can't find gamma in any of that source code.
So you are not specifically using this feature then?
sticilface
@sticilface
Apr 03 2016 17:40
Gamma in my source code? No. I'm not using it.
Espmanager is another repo of mine...
Need to remove that dependency really. Sorry.
Michael Miller
@Makuna
Apr 03 2016 17:42
Ok, found a repro, its pretty simple, looking into it.
sticilface
@sticilface
Apr 03 2016 17:42
It's easy enough to comment out from the ino...
Ah cool.
I been learning eagle today. Just ordered my first pcbs! Should have done that ages ago!
Michael Miller
@Makuna
Apr 03 2016 17:53
Makuna/NeoPixelBus#94 should fix it.
@sticilface do you clone my NeoPixelBus or do you use the library manager to get it?
sticilface
@sticilface
Apr 03 2016 17:59
that fixes it
i use git, and sourcetree
i thought that was the issue, even tried moving it... just like you did... but i didn't include the other files.. and it just caused more errors... was close though
Michael Miller
@Makuna
Apr 03 2016 18:02
thanks for finding that ;-)
Michael Miller
@Makuna
Apr 03 2016 18:14
@sticilface I am adding a Wiki section for links to projects that use my library. Do you want to be included in it?
sticilface
@sticilface
Apr 03 2016 18:17
absolutely!
that beast of a project is finally getting there..... after far too long!
just need to design effects now
Michael Miller
@Makuna
Apr 03 2016 18:17
Do you have a small paragraph that describes your project?
3DSasha
@3DSasha
Apr 03 2016 18:18
@sticilface I had the same question... Or youtube example of work?
sticilface
@sticilface
Apr 03 2016 18:19
not yet but i will make one... i kept that one bare for a reason that it wasn't ready for general use!
its getting there though
i will add documentation over the next week
Michael Miller
@Makuna
Apr 03 2016 18:23
BTW, if anyone wants me to link to their projects, let me know.