Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- That's not a matter of size. It seems the pointer used to reference the picture data bases on the current program counter, thus the code. How do you "include" the picture into you application? --- Quote End --- I included it like that:# include "picture.h" and inside it: int pic_h = 60; int pic_w = 120; unsigned int pic[60][120]= {................}; and the calling like that : draw_array( (unsigned int *)pic, pic_w, pic_h, pic_viewer.display, ((WIDTH-pic_w)/2), ((HEIGHT-pic_h)/2), SPLASH_BG_MASK);