Go Down

Topic: Ethernet : UDP.write() --> some additional hints / infos (Read 1 time) previous topic - next topic

s-light

Hello Community,

i wanted to use UDP.write() to send some byte arrays.
the Reference page only shows the way to do it for strings (char arrays).
after some searching i found that
Code: [Select]
byte bTmp[] = {0, 11, 200, 1, 0, 1};
UDP.write(bTmp, 6);

works :-)
how about just to add the info about what you have to do to use an other type of message ?!
if there is a way to directly add such informations or an other place to post this infos let me know.

sunny greetings
stefan

Go Up