很好,很强大的密码锁设计
8
|
|
|
|
‘看看~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
|
{
uchar i , j,temp;
temp=y;
if( bit_flag )
{
for( i=0; i<2; i++ )
{
x+=i;
y=temp;
for( j=0;j<8;j++ )
{
Lcd_Set_X_Y( x, y ); y++;
Lcd_Write_Byte( point[ i*8 + j] );
}
}
}
else
{
for( i = 0; i < 2; i++ )
{
x += i;
y = temp;
for( j = 0; j < 8; j++ )
{
Lcd_Set_X_Y( x, y ); y++;
Lcd_Write_Byte( ~point[ i * 8 + j ] );
}
}
}
}
/****************************************************************************
* Ãû³Æ£ºLcd_Character_16X16( bit bit_flag, uchar x, uchar y, uchar code *point )
* ¹¦ÄÜ£ºÏÔʾ16*16×Ö·û£¨ºº×Ö£©
* Èë¿Ú²ÎÊý£ºx y data
* ³ö¿Ú²ÎÊý£ºÎÞ
*˵Ã÷:bit_flag = 1 Õý³£ÏÔʾ bit_flag = 0 ºÚ°×·´ÏàÏÔʾ
****************************************************************************/
void Lcd_Character_16X16( bit bit_flag, uchar x, uchar y, uchar code *point )
{
uchar i,j,temp ;
temp=y;
if( bit_flag )
{
for( i=0; i<2; i++ )
{
x+=i;
y=temp;
for( j=0;j<16;j++ )
{
Lcd_Set_X_Y( x, y ); y++;
Lcd_Write_Byte( point[ i*16 + j] );
}
}
}
else
{
for( i = 0; i<2; i++ )
|
|
|
|
|
头像被屏蔽
· 2015-5-24 14:59:56
|
|
|
|
|
顶,顶,顶,顶,顶 顶,顶,顶,顶,顶 顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶顶,顶,顶,顶,顶
|
|
|
|
|