stm32_ota/USER/USER_OLED/user_oled.h

54 lines
2.4 KiB
C
Raw Normal View History

2023-12-15 06:28:06 +00:00
#ifndef __USER_OLED_H
#define __USER_OLED_H
#include <stdint.h>
#include "oled.h"
/******************************************************************************
*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*******************************************************************************/
static const unsigned char csqBmp[] =
{
//0x00,0x02,0x06,0x0E,0x1E,0xFE,0xFE,0x1E,0x0E,0x06,0x02,0x00,
//0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0x00,0x00,0xFC,0xFC,0x00,
//0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
//0x00,0x3F,0x3F,0x00,0x00,0x38,0x38,0x00,0x00,0x3F,0x3F,0x00,
//0x00,0x3F,0x3F,0x00,0x00,0x3F,0x3F,0x00,0x00,0x00,0x00,0x00,
//0x00,0x00,0x00,0x00
0x01,0x03,0x07,0x0F,0x1F,0xFF,0xFF,0x1F,0x0F,0x07,0x03,0x01,
0x00,0x00,0x00,0x00,0x00,0xE0,0xE0,0x00,0x00,0xFC,0xFC,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x3F,0x3F,0x00,0x00,0x38,0x38,0x00,0x00,0x3F,0x3F,0x00,
0x00,0x3F,0x3F,0x00,0x00,0x3F,0x3F,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00
} ; //OLEDͼƬ <20>źű<C5BA>־
static const unsigned char batBmp[] =
{
0x00,0x00,0xF8,0x08,0xE8,0xE8,0xE8,0xE8,0x08,0x08,0xE8,0xE8,
0xE8,0xE8,0x08,0x08,0xE8,0xE8,0xE8,0xE8,0x08,0x08,0xF8,0x20,
0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x10,
0x17,0x17,0x17,0x17,0x10,0x10,0x17,0x17,0x17,0x17,0x10,0x10,
0x17,0x17,0x17,0x17,0x10,0x10,0x1F,0x04,0x07,0x00,0x00,0x00,
0x00,0x00,0x00,0x00
} ; //OLEDͼƬ <20><><EFBFBD>ر<EFBFBD>־
/*****************************************
*<EFBFBD>ڲ<EFBFBD><EFBFBD>ӿں<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
****************************************/
void DisplayCsq(char *pData) ; //OLED<45><44>һ<EFBFBD><D2BB><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>ź<EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>ʾCSQֵ<51><D6B5>
void DisplayBattery(char *pData) ; //OLED<45><44>һ<EFBFBD><D2BB><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ѹֵ<D1B9><D6B5>
/*****************************************
*<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ӿں<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
****************************************/
/**<2A>˵<EFBFBD><CBB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>***********************************************************************************************************/
extern void DisplayStatusBar(void) ; //OLED<45><44>һ<EFBFBD><D2BB><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD>ź<EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>ʾCSQֵ,OLED<45><44>һ<EFBFBD><D2BB><EFBFBD>Ҳ<EFBFBD><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>ͼƬ<CDBC><C6AC><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE>ѹֵ<D1B9><D6B5>
extern void StatusBarPrintf(char *pData) ; //OLED<45><44>һ<EFBFBD><D2BB><EFBFBD><EFBFBD>ʾpData<74><61><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>Ϊ״̬<D7B4><CCAC><EFBFBD><EFBFBD>
extern void DisplayTitle(char *pData) ; //OLED<45>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD>,OLED<45><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
extern void DisplayInfo(char *pData) ; //OLED<45><44><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>/<2F><><EFBFBD>ȵ<EFBFBD><C8B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2>
extern void DisplayWarning(char *pSecond, char *pThird) ; //<2F><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ<EFBFBD><CFA2><EFBFBD><EFBFBD>ʾ<EFBFBD>ڶ<EFBFBD><DAB6>С<EFBFBD><D0A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#endif