user-1: I have written a simple code to read data from capacitive keypad and display it on LCD.
I am getting the data from keypad in following data structure.
char phoneNumber[PHONE_DIGITS];

and then displaying the data on LCD as 
   LcdString(phoneNumber[i]);

where my LCD string function is 
void LcdString(char *characters)
{
  while (*characters)
  {
    LcdCharacter(*characters++);
  }
}

There is a type cast error 

error: invalid conversion from 'char' to 'char*' [-fpermissive]

How can I debug it?

user16487: You're calling your function with a single char, specified by phoneNumber[i], but your function is expecting an array.
If you change your call to:
LcdString(phonenumber)

then that will pass the entire array.
Are you trying to say that you're storing multiple phone numbers?  i.e. a two dimensional array?  Check out the String reference for more details: https://www.arduino.cc/en/Reference/String

-1: <p>I have written a simple code to read data from capacitive keypad and display it on LCD.</p>

<p>I am getting the data from keypad in following data structure.</p>

<pre><code>char phoneNumber[PHONE_DIGITS];
</code></pre>

<p>and then displaying the data on LCD as </p>

<pre><code>   LcdString(phoneNumber[i]);
</code></pre>

<p>where my LCD string function is </p>

<pre><code>void LcdString(char *characters)
{
  while (*characters)
  {
    LcdCharacter(*characters++);
  }
}
</code></pre>

<p>There is a type cast error </p>

<blockquote>
  <p>error: invalid conversion from 'char' to 'char*' [-fpermissive]</p>
</blockquote>

<p>How can I debug it?</p>
 16487: <p>You're calling your function with a single char, specified by phoneNumber[i], but your function is expecting an array.</p>

<p>If you change your call to:</p>

<pre><code>LcdString(phonenumber)
</code></pre>

<p>then that will pass the entire array.</p>

<p>Are you trying to say that you're storing multiple phone numbers?  i.e. a two dimensional array?  Check out the String reference for more details: <a href="https://www.arduino.cc/en/Reference/String" rel="nofollow">https://www.arduino.cc/en/Reference/String</a></p>
