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