Whats up everyone! Im trying my first scratch TD project and running into a bit of difficulty. Sorry if this is a noob question!
I currently have two sensors sending a set of values via the Serial Dat. Eventually it may be as many as fifty sensors.
it comes in looking like this
POS,0,15A4,1.37,1.42,2.32,50,xE8
POS,0,0714,0.70,-0.26,1.29,100,x21
Each parameter is separated by commas. The third parameter (15A4 and 0714) are the differentiators. I would like to use these to parse out the following three parameters.
In the case of 15A4 that would be 1.37, 1.42, 2.32.
Ideally i would have a select (i think?) chop called 15A4, that would output 1.37, 1.42, 2.32 on separate channels that i could then play with.
Anyone have any ideas on how to do this? Attached is a screenshot, I would attach the project, but it wouldn’t do any good without the sensors sending the data stream.
Thank you!