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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy