const int vVert = A0;
const int vHor = A1;
// x-value, y-value
int xValue = 0;
int yValue = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
xValue = analogRead(vHor);
yValue = analogRead(vVert);
Serial.print("x = ");
Serial.println(xValue);
Serial.print("y = ");
Serial.println(yValue);
}