//
//

int led = 2;
int tombol = 19;

void setup() {
  pinMode(led, OUTPUT);
  pinMode(19, INPUT_PULLUP);
}
void loop() {
  tombol = digitalRead(19);
  if (tombol == 0) {
    digitalWrite(led, HIGH);
    delay(1000);
  }
  else if (tombol == 1) {
    digitalWrite(led, LOW);
  }
}