Sorry for not explain better.
Yesterday I read all the posts on parse and included. However, the value is still in string and I did not find a single post showing how to convert it to a numeric value.
As you wrote, I want to convert this value in a numerical value, use a threshold (I was using the node GreaterThan), change the state of pins in the Arduino when the value exceeds the threshold.
I guess the only step is missing so far is how to convert the string value to a numeric value.
I am attaching the BONSAI code. I have used parse to divide the two items (item 1: speed; item 2: time; for simplicity I have included only the item 1 in the code). I would like to convert the speed from the Source.item1 into a numerical value, set a threshold and change the pin state of an arduino.
Here it is the error when I include GreaterThan after the Source.Item1 (obtained from the Parse node output).
Hope that I was more clear. Thanks for the help!
Paolo