Serial.print("x: ");
Serial.print(x);
Serial.print("\t");
Serial.print("y: ");
Serial.println(y);
delay(500);
why are we using serial.println for the last line?
I tried to incorporate serial.println for the x axis of my joystick code too and it messed up the format.
I'm still a noob when it comes to coding and arduino so idk why we're ending it with ln and not print only
I also tried to use print only for the y one and ended it with ("\t");
But it just displayed them both with gaps in between and in a single line.
So what I'm concluding with this is that no matter how many variables I add,
I've to end it with the ln for the last one to get them in proper alignment?
More like they're all connected to eachother and the last one decides how it's going to display?