I have a project that require for the main computer to do most of the processing then for it to send the X and Y coordinates of this processing to the arduino. This at the time didn't seem very hard but now that I have started to dive into serial some more I am completely confused. All of the example I have seen for serial only consist of 1 set of numbers and rather confusing.
The Arduino code I kinda want to go like this http://pastebin.com/aLJfEExw (I know this is probably completely wrong but I am pretty lost right now)
The Python code is this right now http://pastebin.com/4aN4dnSC
If you guys could help explain this better for me it would be amazing. I understand that my code is probably wrong. So if you guys could provide an example of how to send the two different sets of int's it would be amazing. Because I am completely and utterly lost.