/********************************************************************** * Copyright: (C)2021 LingYun IoT System Studio * Author: GuoWenxue QQ: 281143292 * Description: BearKE1 NB-IoT Board OLED display test source code * * Notice: Must implement delay_us() by timer in tim.h first. * * ChangeLog: * Version Date Author Description * V1.0.0 2021.08.10 GuoWenxue Release initial version ***********************************************************************/ #include #include "oled.h" #include "hal_oled.h" #include "font_bmp.h" #include "font_hzk.h" /* *+-------------------------------------------------+ *| OLED Board display API | *+-------------------------------------------------+ */ 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, &LOGO_BMP[0][0]); HAL_Delay(showtime); OLED_Clear(); for(i=0; i