title: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
body: <p>I've been working on a project with my arduino that display a knock knock joke on an LCD but I ran in to a problem while coding.</p>
  
  <p>This is what I have so far</p>
  
  <pre><code>#include&lt;LiquidCrystal.h&gt;
  
  LiquidCrystal lcd(12,11,5,4,3,2);
  int buttonPin = 13;
  int menu = 0;
  int joke(int line1, int line2){
    lcd.setCursor(0, 0); 
    lcd.print(line1);
    lcd.setCursor(0, 1);
    lcd.print(line2);
    lcd.setCursor(0, 0);
  }
  
  void setup(){
    pinMode(buttonPin, INPUT);
    lcd.begin(16,2);
  }
  
  void loop() {
    lcd.setCursor(15, 0);
    lcd.print(menu);
    int buttonValue = digitalRead(buttonPin);
    if(buttonValue = HIGH){
      menu = menu + 1;
    }
    if(menu == 0){
      joke("Knock!", "Knock!");
    } 
  </code></pre>
  
  <p>But when I run it I get the errors</p>
  
  <pre><code>LCD_HelloWorld.ino: In function ‘void loop()’:
  LCD_HelloWorld.ino:28:28: error: invalid conversion from ‘const char*’ to 'int’          [-fpermissive]
  LCD_HelloWorld.ino:7:5: error:   initializing argument 1 of ‘int joke(int, int)’ [-fpermissive]
  LCD_HelloWorld.ino:28:28: error: invalid conversion from ‘const char*’ to ‘int’ [-fpermissive]
  LCD_HelloWorld.ino:7:5: error:   initializing argument 2 of ‘int joke(int, int)’    [-fpermissive]
  </code></pre>
  
  <p>After scouring the internet I've found nothing, so does any body have a solution?
  BTW: I'm new to arduino and C/C++</p>