sabes que yo cero que es eso pero la verdad es que no entiendo bien lo de las dimensiones e agradeseria que me ayudaras mira este es el copilado te agradezco tu colaboración
#include <18f4550.h>
#fuses XT,NOWDT
#use delay(clock=20000000)
#include <HDM64GS12.C>
#include <graphics.c>
// ------------------------------------------------------
// GLCD Picture name: Logo Medicina[1]~1.bmp
// GLCD Model: KS0108 128x64
// ------------------------------------------------------
const int8 imagen[64][16] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0,128,128,128,128,128,128,128,128,128,128,128,
128,192,192,192,192,192,192,192,192,128, 0, 28, 62, 63,255,255,
255,255, 62, 30, 28, 0,128,192,192,192,192,192,192,192,192,128,
128,128,128,128,128,128,128,128,128,128,128, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 1, 3, 3, 7, 7, 7, 3, 15, 15,
31, 31, 31, 31, 31, 63,127,127,127,127,127,127,127, 63,127,127,
255,255,255,255,255,255,255,255,255,255,255,255,255, 0,255,255,
255,255, 0,255,255,255,255,255,255,255,255,255,255,255,255,255,
127,127, 63,127,127,127,127,127,127,127, 63, 31, 31, 31, 31, 31,
15, 15, 3, 7, 7, 7, 3, 3, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96,240,248,248,252,
252,156,157, 29, 61, 61, 61, 61, 61, 61, 57, 48, 0, 0,255,255,
255,255, 0, 0, 48, 57,125,125,125, 61, 61, 61, 29,156,156,252,
248,248,248,240, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 3, 3,
7, 7,199,231,247,243,251,251,252,252, 60, 60, 60, 62,254,222,
222,222, 30, 30, 30, 94,222,222,222,239,239,239,239,199, 7, 7,
3, 3, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 3, 7, 7,143,207,239,239,231,246,244,116,120,123,187,
187,189, 60,188,222,222,223,223,207,207,143, 7, 3, 1, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
};
void glcd_imagen()
{
char i,j;
signed char k;
for( i = 0 ; i < 64 ; i ++ )
{
for( j = 0 ; j < 16 ; j ++)
{
for(k=7;k>-7;k--)
{
if( bit_test(imagen[j] ,6-k ))
glcd_pixel( j*8+k,i, ON );
}
}
}
}
void glcd_imagen_N()
{
char i,j;
signed char k;
for( i = 0 ; i < 64 ; i ++ )
{
for( j = 0 ; j < 16 ; j ++)
{
for(k=7;k>-1;k--)
{
if( bit_test(~imagen[j] ,7-k ))
glcd_pixel( j*8+k,i, ON );
}
}
}
}
void main()
{
delay_ms(1000);
glcd_init(ON); // iniciamos la lcd
glcd_fillScreen(0); //LIMPIAMOS LA PANTALLA
while(TRUE){
glcd_imagen();
delay_ms(4000);
glcd_fillScreen(0); //LIMPIAMOS LA PANTALLA
glcd_imagen_N();
delay_ms(4000);
glcd_fillScreen(0); //LIMPIAMOS LA PANTALLA
}
}