const int ledPin=26;
int botoncillo=25;
int val=0;
void setup() {
// put your setup code here, to run once:
pinMode(ledPin,OUTPUT);
pinMode(botoncillo,INPUT);
}
void loop() {
// put your main code here, to run repeatedly:
val=digitalRead(botoncillo);
digitalWrite(ledPin,val);
}