具体就是OLED_ShowBanner()函数显示的。图片,文字,英文都在的。
- void OLED_ShowBanner(int showtime)
- {
- uint8_t i;
- uint8_t pos_x = 25;
- uint8_t pos_y = 0;
-
- OLED_Clear();
- OLED_DrawBMP(0,0,128,7, &HELLO_BMP[0][0]);
- HAL_Delay(showtime);
- OLED_Clear();
- for(i=0; i<HZK_LEN_BIRTH; i++)
- OLED_ShowChinese(Hzk_Birth, pos_x+i*16, pos_y, i);
- pos_x = 5;
- pos_y = 2;
- //OLED_ShowString(pos_x, pos_y, "WangDengtao", OLED_FONT16);
- HAL_Delay(showtime);
- }
|