const int botun =2;
const int ledpin =13;
int buttonstate =0;
void setup() {
  pinMode(ledpin, OUTPUT);
  pinMode(botun, INPUT);
  // put your setup code here, to run once:

}

void loop() {
  buttonstate =digitalRead(botun);
  if(buttonstate == 1){
    digitalWrite(ledpin , HIGH);
  }else{
      digitalWrite(ledpin , 0);
  }
  // put your main code here, to run repeatedly:

}