⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graphics.h

📁 基于EP7312的MP3播放器源代码,包括MCU和PC端代码.
💻 H
📖 第 1 页 / 共 3 页
字号:
        0x40, 0x40, 0x40, 0x40, 0x70, 0x03, 0x1f, 0xff, 0xff,        0x01, 0x01, 0x01, 0x01, 0xc1, 0xc1, 0xc1, 0xc1, 0xc1    },    {        0x52, 0x55, 0x55, 0x55, 0x22, 0x00, 0x00, 0x03, 0x7f,        0x40, 0x40, 0x40, 0x40, 0x70, 0x03, 0x1f, 0xff, 0xff,        0x01, 0x01, 0x01, 0x21, 0xe1, 0xe1, 0xe1, 0xe1, 0xe1    },    {        0x52, 0x55, 0x55, 0x55, 0x22, 0x00, 0x00, 0x03, 0x7f,        0x40, 0x40, 0x40, 0x40, 0x70, 0x03, 0x1f, 0xff, 0xff,        0x01, 0x01, 0x11, 0x31, 0xf1, 0xf1, 0xf1, 0xf1, 0xf1    },    {        0x52, 0x55, 0x55, 0x55, 0x22, 0x00, 0x00, 0x03, 0x7f,        0x40, 0x40, 0x40, 0x40, 0x70, 0x03, 0x1f, 0xff, 0xff,        0x09, 0x09, 0x19, 0x39, 0xf9, 0xf9, 0xf9, 0xf9, 0xf9    },};//****************************************************************************//// The bitmap for the background of the visual area on the LCD.////****************************************************************************static const unsigned char ucVisualBackground[7][10] ={    { 0xc0, 0xc8, 0xc0, 0xc8, 0xc0, 0xc8, 0xc0, 0xc8, 0xc0, 0xc8 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00, 0x10, 0x00 }};//****************************************************************************//// The bitmaps used for the spectral analyzer used on the LCD.////****************************************************************************#ifdef SUPPORT_SPECTRUM_ANALYZERstatic const unsigned char ucBandPattern[5][7] ={    { 0x03, 0xfc, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x01, 0xfe, 0x00, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0xff, 0x00, 0x00, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x7f, 0x80, 0x00 },    { 0x00, 0x00, 0x00, 0x00, 0x00, 0x3f, 0xc0 }};#endif//****************************************************************************//// The bitmap for the decibel indicator used on the LCD.////****************************************************************************static const unsigned char ucDB[11] ={    0xcc, 0xaa, 0xac, 0xaa, 0xcc, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};//****************************************************************************//// The bitmap for the "kHz" indicator used on the LCD.////****************************************************************************static const unsigned char ucKHZ[2][11] ={    { 0xaa, 0xaa, 0xce, 0xaa, 0xaa, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0xe0, 0x20, 0x40, 0x80, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }};//****************************************************************************//// The bitmap for the "kbps" indicator used on the LCD.////****************************************************************************static const unsigned char ucKBPS[2][5] ={    { 0xac, 0xaa, 0xcc, 0xaa, 0xac },    { 0xc6, 0xa8, 0xc4, 0x82, 0x8c }};//****************************************************************************//// The bitmap for the "stereo" indicator used on the LCD.////****************************************************************************static const unsigned char ucStereo[3][5] ={    { 0x37, 0x42, 0x22, 0x12, 0x62 },    { 0x76, 0x45, 0x66, 0x45, 0x75 },    { 0x72, 0x45, 0x65, 0x45, 0x72 }};//****************************************************************************//// The bitmap for the "mono" indicator used on the LCD.////****************************************************************************static const unsigned char ucMono[3][5] ={    { 0x02, 0x03, 0x02, 0x02, 0x02 },    { 0x24, 0x6a, 0xaa, 0x2a, 0x24 },    { 0x92, 0xd5, 0xb5, 0x95, 0x92 }};//****************************************************************************//// The bitmap for the left portion of the menu tabs on the LCD.////****************************************************************************static const unsigned char ucMenuStart[2][13] ={    { 0x00, 0x01, 0x02, 0x06, 0x06, 0x06, 0x06,      0x06, 0x06, 0x06, 0x06, 0x04, 0x18 },    { 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,      0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }};//****************************************************************************//// The bitmap for the left arrow used at the left side of the menu tabs on the// LCD.////****************************************************************************static const unsigned char ucArrowLeft[7] ={    0x10, 0x30, 0x70, 0xf0, 0x70, 0x30, 0x10};//****************************************************************************//// The bitmap for the right arrow used at the right side of the menu tabs on// the LCD.////****************************************************************************static const unsigned char ucArrowRight[7] ={    0x08, 0x0c, 0x0e, 0x0f, 0x0e, 0x0c, 0x08};//****************************************************************************//// The bitmap for the right portion of the menu tabs on the LCD.  This bitmap// is the one used for the currently selected menu tab and has additional// space between the text and the tab border.////****************************************************************************static const unsigned char ucSeparatorFirst[13] ={    0x80, 0x40, 0x20, 0x20, 0x20, 0x20, 0x20,    0x20, 0x20, 0x20, 0x20, 0x10, 0x08};//****************************************************************************//// The bitmap for the right portion of the menu tabs on the LCD.  This bitmap// is the one used for the non-selected menu tabs and does not have the// additional space between the text and the tab border.////****************************************************************************static const unsigned char ucSeparator[13] ={    0x00, 0x80, 0x40, 0x40, 0x40, 0x40, 0x40,    0x40, 0x40, 0x40, 0x40, 0x20, 0x10};//****************************************************************************//// The bitmap for the border around the bottom portion of the menu.////****************************************************************************static const unsigned char ucMenuBottom[320] ={    0x20, 0x40, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0,    0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xc0, 0xe0, 0x7f, 0x3f,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff,    0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01,    0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x02, 0xfc, 0xf8};//****************************************************************************//// The bitmaps for the days of the week.////****************************************************************************static const unsigned char ucDays[7][2][11] ={    //    // Sunday - "Sun".    //    {        { 0x6a, 0x8a, 0x4a, 0x2a, 0xc4, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0x90, 0xd0, 0xb0, 0x90, 0x90, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Monday - "Mon".    //    {        { 0x89, 0xda, 0xaa, 0x8a, 0x89, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0x24, 0xb4, 0xac, 0xa4, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Tuesday - "Tue".    //    {        { 0xea, 0x4a, 0x4a, 0x4a, 0x44, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0xe0, 0x80, 0xc0, 0x80, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Wednesday - "Wed".    //    {        { 0x8b, 0x8a, 0xab, 0xda, 0x8b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0xb0, 0x28, 0x28, 0x28, 0xb0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Thursday - "Thu".    //    {        { 0xea, 0x4a, 0x4e, 0x4a, 0x4a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0xa0, 0xa0, 0xa0, 0xa0, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Friday - "Fri".    //    {        { 0xec, 0x8a, 0xcc, 0x8a, 0x8a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0xe0, 0x40, 0x40, 0x40, 0xe0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    },    //    // Saturday - "Sat".    //    {        { 0x64, 0x8a, 0x4e, 0x2a, 0xca, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },        { 0xe0, 0x40, 0x40, 0x40, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }    }};//****************************************************************************//// The bitmap for the AM indicator used on the LCD.////****************************************************************************static const unsigned char ucAM[2][11] ={    { 0x12, 0x2b, 0x3a, 0x2a, 0x2a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x20, 0x60, 0xa0, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }};//****************************************************************************//// The bitmap for the PM indicator used on the LCD.////****************************************************************************static const unsigned char ucPM[2][11] ={    { 0x32, 0x2b, 0x32, 0x22, 0x22, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },    { 0x20, 0x60, 0xa0, 0x20, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -