I tried to add a call to attach the ticker:
tickDMX.attach(1, sendDMX);
in my setup that calls a function:
void sendDMX(){
artnetnode.sendDMX();
}
But adding this attach call causes my esp to reset with this output:
Panic /Users/solexious/Library/Arduino15/packages/esp8266/hardware/esp8266/2.0.0/cores/esp8266/core_esp8266_main.cpp:85 __yield
ctx: sys
sp: 3ffffd20 end: 3fffffb0 offset: 01b0
>>>stack>>>
3ffffed0: 3ffef984 40100ffb 3fff1be0 40203226
3ffffee0: 40100f35 00000000 402012d0 40202c94
3ffffef0: 402012e6 00000000 3fff0a78 4020306e
3fffff00: 3fff0a78 00000184 3ffeee7a 40203778
3fffff10: 3ffea684 3ffea6a0 00000000 0000033e
3fffff20: 00000350 3ffee998 3fff0a78 4020290d
3fffff30: 3ffee998 3ffee998 00000000 40202956
3fffff40: 0000033a 0018f558 3ffea608 40208838
3fffff50: 40100d6c 00000000 00000000 60000600
3fffff60: 005044f3 3ffe8890 3fff1b70 4020180c
3fffff70: 3fff1b70 4020c03c 3ffe8c2c 4020c049
3fffff80: 4020c08e 3fffdab0 00000000 3fffdcb0
3fffff90: 3ffe88a0 3fffdc20 3ffefa24 40202bcb
3fffffa0: 40000f49 40000f49 3fffdab0 40000f49
If I comment out the call it doesn't crash.
If I try calling sendDMX() just in the loop I don't get the crash...
Any ideas?
Sol