guowenxue
2021-08-29 77ddd4a0943e2f9935bec2e00fffacec370cc1aa
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**********************************************************************
*   Copyright: (C)2021 LingYun IoT System Studio <www.weike-iot.com>
*      Author: GuoWenxue<guowenxue@gmail.com> 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
***********************************************************************/
#ifndef __OLED_H_
#define __OLED_H_
 
#include "hal_oled.h"
 
/*
 *+-------------------------------------------------+
 *|            OLED Board display API               |
 *+-------------------------------------------------+
 */ 
#define TIME_500MS     500
#define TIME_1S        1000
 
void OLED_ShowBanner(int showtime);
 
void OLED_ShowTempHumdity(uint32_t temp, uint32_t humd, int showtime);
 
void OLED_ShowLightNoisy(uint32_t light, uint32_t noisy, int showtime);
 
#endif