receiving array of data using UART arduino : <p>i am trying to send data through UART in arduino to fingerprint scanner 
i am using an array to send the commands and it works fine </p>

<pre><code>for(i =0 ; i&lt;= 24 ; i++)
  {
    Serial.write(SendArray[i]); 
    SendArray[i] =0;
  }
</code></pre>

<p>the problem is when i'm trying to receive response from the fingerprint 
the fingerprint response is 24 bytes so i tried to receive the bytes and store them in an array of 24 elements </p>

<pre><code> for(k=0 ; k&lt;=24 ; k++)
    {
       RecieveArray[k] = Serial.read();

    }
</code></pre>

<p>but when i try to print an element from the received array i get strange symbols </p>
