#include <Servo.h>
#include <IRremote.h>
#include <LiquidCrystal_I2C.h>

Servo s0;
Servo s1;
Servo s2;
LiquidCrystal_I2C lcd(0x27, 16, 2);
IRrecv recv(2);
decode_results hasil;
const int pb = 13;
int hpb;

void setup() {
  lcd.begin(16,2);
  pinMode(pb, INPUT);
  recv.enableIRIn();
  s0.attach(11);
  s1.attach(10);
  s2.attach(9);
}

void loop() {
  recv.decode(&hasil);
  hpb = digitalRead(pb);
  lcd.setCursor(13,0);
  lcd.print(hpb);
  //lcd.setCursor(0,1);
  //lcd.print(hasil.value);
  recv.resume();
  if(hasil.value = 4294967295 ){
    lcd.setCursor(0,1);
    lcd.print("Mode: Servo 0");
  if(hpb == 1){
    s0.write(180);
    delay(1000);
    s0.write(0);
    delay(1000);
  }}


}
$abcdeabcde151015202530354045505560fghijfghij