//Jobb oldali joystick bemenet
const int RV = A7;
const int RH = A5;
const int RS = A3;
//Bal oldali joystick bemenet
const int LV = A6;
const int LH = A4;
const int LS = A2;
//Jobb oldali joystick változók
int RVV;
int RHV;
int RSV;
//Bal oldali joystick változók
int LVV;
int LHV;
int LSV;
void setup() {
Serial.begin(9600);
}
void loop() {
RVV = analogRead(RV);
RHV = analogRead(RH);
RSV = analogRead(RS);
LVV = analogRead(LV);
LHV = analogRead(LH);
LSV = analogRead(LS);
Serial.println("RVV: ");
Serial.println(RVV);
delay(300);
Serial.println("RHV: ");
Serial.println(RHV);
delay(300);
Serial.println("RSV: ");
Serial.println(RSV);
delay(300);
Serial.println("LVV: ");
Serial.println(LVV);
delay(300);
Serial.println("LHV: ");
Serial.println(LHV);
delay(300);
Serial.println("LSV: ");
Serial.println(LSV);
delay(300);
}