wh1sp3r
Joined: 15 Jul 2006 Posts: 22
|
|
Posted: Sat Jul 15, 2006 12:36 pm |
|
|
there is my program
Code: | #include <16F877>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)
const int image_a[256] = {
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,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,255,255,255,255,255,255,247,252,0,0,0,0,0,
0,0,126,0,0,0,0,0,7,224,0,224,0,0,0,0,
0,15,128,0,0,0,0,0,59,0,0,8,0,0,0,0,
};
const int image_b[256] = {
1,255,255,255,255,255,255,255,200,0,0,12,0,0,0,0,
4,0,0,0,0,0,0,4,16,0,0,48,0,0,0,0,
4,15,3,195,192,62,31,228,16,0,1,138,0,0,0,0,
4,15,3,195,224,126,31,228,23,255,242,0,0,0,0,0,
4,15,3,195,240,126,31,244,16,0,10,5,0,0,0,0,
4,15,3,195,248,254,30,4,20,0,5,1,184,0,0,0,
4,15,3,195,253,254,31,196,16,0,4,7,112,240,0,0,
4,15,3,195,255,254,31,196,20,0,4,144,195,224,64,0,
4,15,3,195,255,254,31,196,4,0,0,2,0,7,48,0,
4,15,3,195,223,222,30,4,11,255,254,7,0,0,38,0,
4,15,243,195,223,158,31,244,27,128,1,8,31,0,22,0,
4,15,243,195,207,30,31,228,18,0,1,0,0,7,6,128,
4,15,243,195,198,30,31,244,24,0,3,96,1,248,140,128,
7,255,255,255,255,255,255,252,120,0,3,128,0,1,206,128,
3,255,255,255,255,255,255,255,184,0,6,0,0,0,172,0,
0,64,0,0,0,0,0,0,88,0,0,0,0,0,11,0,
};
const int image_c[256] = {
0,127,255,255,255,255,255,255,248,0,8,0,0,0,136,0,
0,0,63,248,70,255,255,255,240,0,8,0,0,0,129,0,
0,0,63,159,225,191,255,255,248,0,8,0,127,224,132,0,
0,0,63,127,240,239,255,255,255,255,224,1,255,252,242,0,
0,0,63,255,254,123,255,255,255,255,224,3,255,252,40,0,
0,0,63,243,207,59,255,255,255,255,240,3,201,62,72,192,
0,0,63,238,55,157,255,255,255,255,240,3,184,223,38,64,
0,0,3,209,139,143,254,1,192,32,120,7,104,13,240,128,
0,0,7,209,167,143,249,253,252,0,15,215,112,4,1,0,
0,63,255,246,5,143,255,255,255,255,255,254,89,22,12,0,
0,127,255,247,5,239,255,255,255,255,255,255,120,183,0,0,
7,255,255,211,131,239,255,255,255,255,255,255,127,15,128,0,
7,255,255,236,55,255,255,255,255,255,255,255,184,79,191,0,
7,255,255,247,143,221,255,255,255,255,255,255,205,62,127,128,
15,255,255,252,63,255,255,255,255,255,255,247,248,254,254,0,
31,255,255,255,255,247,255,255,255,255,255,255,255,249,255,0,
};
const int image_d[256] = {
31,255,255,191,255,223,255,255,255,255,255,254,255,255,255,192,
1,255,255,239,254,127,255,255,255,255,255,255,191,223,255,192,
0,63,255,252,31,255,255,255,255,255,255,255,251,255,254,0,
0,1,220,255,255,255,255,255,255,255,255,255,255,255,248,0,
0,0,0,0,3,255,199,255,255,255,255,255,255,255,224,0,
0,0,0,7,255,255,255,255,255,255,255,255,255,240,32,0,
0,0,0,0,15,255,58,255,255,255,255,195,255,224,0,0,
0,0,0,0,7,255,255,255,255,255,240,255,255,128,0,0,
0,0,0,0,0,6,192,15,255,248,31,252,127,0,0,0,
0,0,0,0,0,0,0,0,15,255,254,31,255,128,0,0,
0,0,0,0,0,0,0,0,0,23,131,131,254,0,0,0,
0,0,0,0,0,0,0,0,1,228,0,0,239,0,0,0,
0,0,0,0,0,0,0,0,0,0,59,216,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
};
void glcd_image(int *image1,int *image2,int *image3,int *image4)
{
}
void main()
{
glcd_image(image_a, image_b, image_c, image_d);
while(TRUE)
{
}
} |
|
|