• 大小: 221.53 KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-11-12
  • 语言: 其他
  • 标签: ZLG_GUI  

资源简介

STM32F103RBT6驱动UC1698控制芯片的160160黑白点阵液晶的程序在上面移植了ZLG_GUI.rar )

资源截图

代码片段和文件信息

//================================================================================================
// 文件名称:  main.c 
// 芯片类型: STM32103RBT6                                            
// 开发软件: Keil v3.90 Windows XP2 
// 开发时间: 2010年01月05日                                                               
// 程序功能: 在STM32上移植ZLG_GUI来驱动使用UC1698芯片的160160单色点阵模块,该模块广泛应用于电力载波终端 
// 编写人员: 崔超                                                                       
// 联系方式: 13686036830  soulcoffee@sohu.com   
//================================================================================================ 

//========================================= 头文件 ================================================ 
#include “config.h“

//======================================== 变量定义 =============================================== 

// 一个单色图标的数据,宽度x高度=40x40
uint8 const ICO1[] = 
{
0x000x000x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000xFF0x000x000x000x070x000xE00x000x000x18
0x000x180x000x000x300x000x0C0x000x000x400x000x020x000x000x800x00
0x010x000x010x000x000x000x800x030x000x000x000xC00x020x010x810x80
0x400x040x030xC30xC00x200x040x030xC30xC00x200x040x030xC30xC00x20
0x080x030xC30xC00x100x080x030xC30xC00x100x080x010x810x800x100x08
0x080x000x100x100x080x080x000x100x100x080x100x000x080x100x080xF0
0x000x0F0x100x080x080x000x100x100x040x040x000x200x200x040x060x00
0x600x200x040x030x810xC00x200x020x010x7E0x800x400x030x000x810x00
0xC00x010x000x420x000x800x000x800x3C0x010x000x000x400x000x020x00
0x000x300x000x0C0x000x000x180x000x180x000x000x070x000xE00x000x00
0x000xFF0x000x000x000x000x000x000x000x000x000x000x000x000x000x00
0x000x000x000x000x000x000x000x00
};

// 样条曲线的4个端点
PointXY log_pin[] = { {80  30}
                      {120 60}
                      {160 30}
                      {200 60}
                    };

// 封闭多边形的各个顶点                    
uint32  const poly6[] = {150110 17080 18095 20085 230110 150110};
                      

uint8  str[256];
uint32 Time_count = 0;
uint32 rr;
void delay()
{
  Delay_ms(1);
}  

WINDOWS Win_Main[] = {00160160“ZLG_GUI““Programme by CuiChao“ }  ;

MMENU  Menu_Main = {Win_Main 5{“File““Edit““View““Tool““Help“ } };

SMENU  Menu_Slave = { Win_Main05{“New““Open““Close““Save““Exit“}0{delaydelaydelaydelaydelay } } ;


//============================================================================= 
//函 数 名: main() 
//功    能: C入口函数  
//入口参数: 无
//出口参数: 无
//返 回 值: 无
//============================================================================= 
int main (void)
{  
uint32 Time_count_old = 100;


   TargetInit(); /* 应用程序初始化   */ 

GUI_Initialize(); // 初始化LCM 

   GUI_SetColor(1 0); // 设置前景色及背景色


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       3262  2010-01-05 00:05  KEIL_STM32\APP\config.h

     文件      15028  2009-10-21 22:34  KEIL_STM32\APP\LCD12864\ASCII.c

     文件      43606  2009-10-14 14:11  KEIL_STM32\APP\LCD12864\Chinese.C

     文件      45327  2010-01-03 11:20  KEIL_STM32\APP\LCD12864\LcdDriver.c

     文件       3384  2010-01-02 21:52  KEIL_STM32\APP\LCD12864\LcdDriver.h

     文件      42404  2010-01-05 00:02  KEIL_STM32\APP\LCD160160\LCD160160.C

     文件        155  2010-01-03 13:39  KEIL_STM32\APP\LCD160160\LCD160160.H

     文件       4117  2010-01-05 21:54  KEIL_STM32\APP\main.c

     文件       2036  2008-04-03 10:39  KEIL_STM32\APP\STM32DBG.ini

     文件       5500  2008-10-16 18:58  KEIL_STM32\APP\stm32f10x_conf.h

     文件       9519  2008-11-16 11:33  KEIL_STM32\APP\Target\cortexm3.s

     文件      15394  2009-03-11 18:35  KEIL_STM32\APP\Target\startup.s

     文件       4947  2009-08-07 19:34  KEIL_STM32\APP\Target\target.c

     文件       1766  2009-03-11 18:35  KEIL_STM32\APP\Target\target.h

     文件       3321  2010-01-05 21:53  KEIL_STM32\APP\Timer\Timer.c

     文件       1844  2010-01-03 11:55  KEIL_STM32\APP\Timer\Timer.h

     文件       7899  2010-01-05 00:08  KEIL_STM32\APP\ZLG_GUI\ConvertColor.c

     文件       5674  2004-03-11 16:41  KEIL_STM32\APP\ZLG_GUI\ConvertColor.h

     文件      17529  2004-03-11 19:31  KEIL_STM32\APP\ZLG_GUI\FONT24_32.C

     文件        952  2010-01-04 23:26  KEIL_STM32\APP\ZLG_GUI\FONT24_32.H

     文件      15349  2004-03-11 19:30  KEIL_STM32\APP\ZLG_GUI\FONT5_7.C

     文件       1935  2010-01-04 23:26  KEIL_STM32\APP\ZLG_GUI\FONT5_7.H

     文件      15756  2004-03-11 19:30  KEIL_STM32\APP\ZLG_GUI\FONT8_8.C

     文件       1988  2010-01-04 23:26  KEIL_STM32\APP\ZLG_GUI\FONT8_8.H

     文件       6305  2010-01-04 23:26  KEIL_STM32\APP\ZLG_GUI\FONT_MACRO.H

     文件      54440  2004-06-18 16:59  KEIL_STM32\APP\ZLG_GUI\GUI_BASIC.C

     文件       8412  2010-01-04 23:27  KEIL_STM32\APP\ZLG_GUI\GUI_BASIC.H

     文件       1207  2010-01-05 19:56  KEIL_STM32\APP\ZLG_GUI\GUI_CONFIG.H

     文件       2442  2010-01-04 23:27  KEIL_STM32\APP\ZLG_GUI\GUI_StockC.C

     文件       1853  2004-03-12 12:38  KEIL_STM32\APP\ZLG_GUI\GUI_StockC.h

............此处省略78个文件信息

评论

共有 条评论