We are about to switch to a new forum software. Until then we have removed the registration on this forum.
greetings, i am trying to plot x and y coordinates from a touchpad connected to my pc via arduino. my arduino gives me a string that looks like that 233,672,0 the first part is my x coordinate, my second part is the y coordinate and that last part, is a 0 or 1 to tell me if there was a touch or not. until now i can see where my coordinates are with ellipse function, but i still cant get it to simply draw a line connecting all positions of my postion on the touchpad. my plan is to use the touchpad to write a letter, and when the letter is done written, i want to compare the letter that was drawn with another saved one on my pc. any help i would be thankful, here is my code