void setup() {
Serial.begin(115200); //Sets the data rate in bits/second
pinMode(A0, INPUT); //Configures the pin A0 as an input
pinMode(7, INPUT_PULLUP); //Configures pin 7 as an input
}
void loop() {
int value = analogRead(A0); //Creates an interger variable 'value' and sets it equal to the value returned by pin A0
int switch_value = digitalRead(7);
int time = millis();
Serial.print(value);
Serial.print(" ");
Serial.print(switch_value);
Serial.print(" ");
Serial.println(time);
}