Code: Select all
while True: data=sock.recv(1024) esp.apa102_write(pin1,pin2,data)
I found here http://bbs.espressif.com/viewtopic.php?t=2615 that this occurs when a client tries to connect when a I/O interrupt happens. for me it seems to happen when I do receive data at the same time I try to write to the apa102.
Does anyone have an idea how to solve this?
Can I somehow disable interrupts while writing to the apa102?
Maybe using the Neopixel implementation could work?