const int BrocheAxeY = A3; // Analog input pin that the axeY is attached to const int BrocheAxeX = A2; // Analog input pin that the axeX is attached to void setup() { // initialize serial communications at 9600 bps: Serial.begin(9600); } void loop() { int ValeurAxeY, ValeurAxeX; ValeurAxeY= analogRead(BrocheAxeY); ValeurAxeX = analogRead(BrocheAxeX); // print the results to the serial monitor: Serial.print("AxeX= " ); Serial.print(ValeurAxeY); Serial.print("\t AxeY = "); Serial.println(ValeurAxeX); delay(2); }