- Tue Apr 26, 2016 1:32 pm
#46255
I updated the utility.
It's available here :
https://github.com/cicciocb/UDP_tester/ ... e?raw=trueThe window can be resized, pressing enter send the message without using the send button.
I also add 3 RGB sliders that permit to send a color code.
Use the following code with a neopixel strip (mine is of 30 leds) :
You'll be impressed of the rapidity of the UDP function.
Let me know.
Code: Select allmemclear
cls
print ramfree()
'this is where the UDP server is defined
udpbegin 5001
udpbranch [udpmessage]
wait
[udpmessage]
i = val(udpread())
'serialprintln i
r = (i >> 16) and 255
g = (i >> 8) and 255
b = (i and 255)
neostripcolor(0,30, r, g, b)
return