Tell me what you want, What you really, really want.

Moderator: Mmiscool

User avatar
By Electroguard
#46070 A couple of minor 'rainy day' suggestions for your UDP_debugger utility cicciocb...

Automatically append <BR> to end of 'Message to Send' string when Carraige Return is pressed, so that the message can be sent without needing to click 'Send' (CR's are just ignored at the moment).

Allow window to be resized so that it's possible to view the ends of longer msgs.
User avatar
By cicciocb
#46255 I updated the utility.
It's available here :
https://github.com/cicciocb/UDP_tester/ ... e?raw=true

The 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