-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Description
Hello,
I'm creating an audio reactive wall with Arduino Ethernet and @freetronics DMDs (http://www.freetronics.com.au/collections/all-products/products/dot-matrix-display-32x16-red#.VUl2QHXtlBc).
It works quite OK, but the Udp.parsePacket() is too slow, and then blocks the TimerOne that scans and updates the display on the DMDs. The result of this is that the DMDs flicker, which is a bit annoying.
My question then is : is there any faster way than UDP.parsePacket() to check if an UDP message is incoming?
Here is my sketch https://gist.github.com/xseignard/3b2b8d810122a8235540 nothing fancy, and I'm sure about what I say, since the DMDs flicker even when there is no incoming UDP packets, and if I replace the UDP communication by a Serial one, using Serial.available(), there is no flickering.
I add @projectgus, maintainer of https://github.com/freetronics/DMD to this issue since he might be interested.
Regards