Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Sending array from arduino to of

$
0
0

@rak_multi wrote:

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?

Posts: 8

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles