//program menyalakan lampu dengan pushbotton 
//created by Febby Liyanna 
int lampu = 2;
int tombol;
void setup () {
  pinMode(lampu, OUTPUT);
  pinMode(19, INPUT_PULLUP);
}
void loop (){
  tombol = digitalRead(19);
  if (tombol == 0){
    digitalWrite(lampu, HIGH);
  }
  else if (tombol == 1){
    digitalWrite(lampu, LOW);
  }
}