This question already has an answer here:
- How do I split an incoming string? 10 answers
So for my arduino project I need to split this line of servos data
180 0 0 0 90 90 0
Which would be parsed as:
servo position1 servo positin2 servo positin3 ...servo position 6
in to separate servo values, but i am new at arduino and c typе languges so a little bit help will be very good. So my question is how can I split these values up?