OLED显示16*16汉字
16*16点阵
void Draw_16x16(unsigned char x,unsigned char y,unsigned char N)//显示16*16汉字
{
unsigned int Num =N*32;
unsigned int i = 0;
OLED_SetCursor(y,x);
for ( i = 0; i < 16; i++)
{
OLED_WriteData(Tab16_16[Num]);
Num+=1;
}
OLED_SetCursor(y+1,x);
for (i = 0; i < 16; i++)
{
OLED_WriteData(Tab16_16[Num]);
Num+=1;
}
}
OLED由128*64个像素组成
有8行,18行8个像素
显示32*64灵感:
OLED_SetCursor(y,x);
for ( i = 0; i < 16; i++)
{
OLED_WriteData(Tab16_16[Num]);
Num+=1;
}
32*64字模一行有32个像素,有8行
"好"