void setup() { Serial.begin(9600); // begin Serial communication } void loop() { Serial.print("your text"); // print text Serial.print(your_variable); // print a variable Serial.print(" "); // print a new line }