int carRotation=0; int carSpeed=0; void setup() { Serial.begin(9600); pinMode(A0, INPUT); pinMode(A1, INPUT); } // put your setup code here, to run once: void loop() { carRotation=analogRead(A0); carSpeed=analogRead(A1); Serial.print(map(carSpeed,0,1023,-100,100)); Serial.print(","); Serial.println(map(carRotation,0,1023,-100,100)); delay(50); // put your main code here, to run repeatedly: }