int inputPin=12;
int val=0;
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
pinMode(inputPin, INPUT);
}
void loop() {
val=analogRead(inputPin);
Serial.println(val);
// put your main code here, to run repeatedly:
delay(100); // this speeds up the simulation
}