albe01
Joined: 02 Jul 2010 Posts: 30 Location: italy
|
Help glcd image |
Posted: Sat Jul 02, 2011 7:18 am |
|
|
Hello to everyone. I have this code, but working only on glcd 128x64.
I use 192x64 and I'd like change it for the new glcd... help
Code: |
void glcd_menu()
{
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(menu[i][j] ,7-k ))
glcd_pixel( j*8+k,i, ON );
}
}
}
}
|
|
|