void loop() { // read the sensor: int sensorValue = analogRead(A0); // print the results: Serial.print(sensorValue); Serial.print(","); // read the sensor: sensorValue = analogRead(A1); // print the results: Serial.print(sensorValue); Serial.print(","); // read the sensor: sensorValue = digitalRead(switchPin); // print the last reading with a println() so that // each set of three readings prints on a line by itself: Serial.println(sensorValue); }