title: arduino flash memory array
body: <p>I have a number of arrays all of different sizes that I have stored in flash memory.
  I can access single array entries with </p>
  
  <pre><code>byte j = pgm_read_byte(&amp;(array[x]));
  </code></pre>
  
  <p>What I want to do is to pass the array from the flash memory as an argument to a function. I have tried giving a pointer to the array, as an argument but this gives a compilation error:</p>
  
  <pre><code>void callPGM2(byte arr_size, byte *arr) {
  ..
  ..
  }
  
  ptr2 = &amp;pgm_read_byte(&amp;(array_1[0]));
  callPGM2(5, &amp;ptr2);
  </code></pre>
  
  <p>Can full arrays be passed from flash memory as function arguments?</p>