Let's Make Robots!

values

separating several sensor values

I´m starting a project were 2 Arduinos comunicate through wireless modules (XBee Pro).


Arduino #1 has two potenciometers and sends their values
Arduino #2 recieves the values like this:

100,230
100,231
100,233
100,234
...

Now I need to separate this values and assign each one to a variable.
But I´m stuck here.. any help would be apreciated!!