#define poten 4
#define pulsador 22
void setup() {
  // put your setup code here, to run once:
  pinMode(poten, INPUT);
  pinMode(pulsador, INPUT);
  Serial.begin(115200);
  Serial.println("Hello, MUNDO!");

}
void loop() {
  // put your main code here, to run repeatedly:
  if((digitalRead(pulsador)==HIGH)){
  Serial.println(digitalRead(pulsador));
  }
  

 Serial.println(analogRead(poten));
  delay(10); // this speeds up the simulation
}