Why does not this work? Tried to use numbers insted
Edit: Sorry it does work;)
if (Serial.available()>0){
Serial.println("Inni lokke");
int ch = Serial.read();
Serial.println(ch);
if (ch == '1'){aapne();}
if (ch == '2'){lukke();}
if (ch == '3'){aapne2();}
if (ch == '4'){lukke2();}
}