Quantcast
Viewing all articles
Browse latest Browse all 40524

Sending array from arduino to of

Hey Guys,

I am tryng to send an array with values from my Arduino to OF with simple ofSerial functionality and without using firmata.
I am getting data into my app but I am a bit stuck how to handle them.

On arduino I simply send an array like following:

byte serialArrayOne[]  = {1,2,3,4,5,6,7,8};
Serial.write(serialArrayOne,8);

But how do I handle those bytes in OF? How can i convert those bytes back to an array?
Is there somewhere an example to handle more complex serial data in OF?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>