//Created by Barbu Vulc!
//Pbt.c.L. = Pushbutton-controlled LED!
const int bP = 2; //Button connected to digital pin no. 2!
const int ledPin = 2;
int bSt = 0; //Button state...

void setup(){
  pinMode(ledPin, OUTPUT);
  pinMode(bP, OUTPUT);
}

void loop(){
  bSt = digitalRead(bP);
  if(bSt == HIGH){
    digitalWrite(ledPin, LOW);
  }else{
    digitalWrite(ledPin, HIGH);
  }
}