Gary Chio

the problem about Function Pointer and Array~~~

Discussion created by Gary Chio on Jun 15, 2006
Latest reply on Jun 16, 2006 by Gary Chio
hi there,
I am try to define the array for LCM display and want to write a function for it.
like this..
 
const Byte pic[ ] ={......................}
 
main(){
..
show_pic(pic);
..}
 
void show_pic(char *ptr){
......}
 
But while I am compiling,the compiler shows the message
If I denfine the array in the RAM,then the compiler could finish the compiling.
Byte pic[ ]={......}
 
thank you for your kindly help..:smileywink:

Outcomes