//362359830476656641
int BP=11,LED=12;
void setup() {
pinMode(LED, OUTPUT);
pinMode(BP, INPUT_PULLUP);
}
void loop() {
if(digitalRead(BP)==LOW){
digitalWrite(LED,HIGH);
}
else
{
digitalWrite(LED,LOW);
}
}
//362359830476656641
int BP=11,LED=12;
void setup() {
pinMode(LED, OUTPUT);
pinMode(BP, INPUT_PULLUP);
}
void loop() {
if(digitalRead(BP)==LOW){
digitalWrite(LED,HIGH);
}
else
{
digitalWrite(LED,LOW);
}
}