I am using an Arduino Mega 2560. I want to use my own sketch on the Arduino and simply stream integers to Grasshopper using Firefly’s “Serial Read (Generic)” component. However, the data I get in grasshopper doesn’t look the same as what I see in the serial monitor within the Arduino IDE. For example, in the serial monitor I might see:
34
34
34
34
32
31
28
etc.
which is what I expect. But in Grasshopper the “Serial Read (Generic)” component is outputting:
{0}
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
-
60,60,60,61,59,58,57,56,56,58,56,56,54,53,57,54,0,0,0,0,0,0,0,0,0,0,eo l
etc.
Is there something I’m missing about how serial data is formatted? I’m using the Serial.println command in my sketch.
Thanks a lot for any advice.