Anyone have any ideas on modifying this library: http://playground.arduino.cc/Code/CmdMessenger to work with UDP commands? or TCP/IP?
Ideally I'd like to send a command to setup a bunch of parameters to a custom LED controller and send it out as a single UDP packet (And later TCP-ip when bugs are worked out). It might look something like this:
Output(the command Id),1(which output), current(how much current to the LED), brightness(a percentage of the total current), pulsewidth(if pulsing, and on-time of the LED), delay(a trigger-to-pulse delay), trigger_rising(a trigger edge selection);(end of command)
It looks like this library can do exactly this, but with Serial commands. How easily could this be modified to work with UDP commands?
If anyones got any ideas I would be grateful!