# YM_WIN_LCD **Repository Path**: lineCodeJm/YM_WIN_LCD ## Basic Information - **Project Name**: YM_WIN_LCD - **Description**: 这是一个采用C语言编写的控制台虚拟LCD。目的主要是为了建立在其上的项目能够很容易进行跨平台移植,其功能是在win32控制台上,利用GDI进行绘BMP图片。由于没有采用回调函数这些,需要你自己进行图片刷新,和传统硬件LCD一致,需要手动刷新。图片也是一个虚拟LCD的映射输出,你可以利用他进行完全的LCD操作,这有利于你需要将你在window上设计出的功能移植到其他小型设备上面,诸如STM32等单片机系统上。 - **Primary Language**: C - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 2 - **Created**: 2023-11-03 - **Last Updated**: 2023-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # YM_WIN_LCD #### 介绍 这是一个采用C语言编写的控制台虚拟LCD。目的主要是为了建立在其上的项目能够很容易进行跨平台移植,其功能是在win32控制台上,利用GDI进行绘BMP图片。由于没有采用回调函数这些,需要你自己进行图片刷新,和传统硬件LCD一致,需要手动刷新。图片也是一个虚拟LCD的映射输出,你可以利用他进行完全的LCD操作,这有利于你需要将你在window上设计出的功能移植到其他小型设备上面,诸如STM32等单片机系统上。 This is a console virtual LCD written in C language. The main purpose is to build on the project can be easily cross-platform migration, its function is to use GDI to draw BMP pictures on the Win32 console. Since there is no callback function, you need to refresh the image by yourself, which is consistent with the traditional hardware LCD and needs to refresh manually. The image is also a virtual LCD mapping output that you can use to fully operate the LCD, which helps you transfer the functionality you designed on the Window to other small devices, such as THE STM32 microcontroller system. #### 软件架构 软件架构说明 #### 安装教程 1. xxxx 2. xxxx 3. xxxx #### 使用说明 1. 利用WinCreat创建一个窗体:MyWindow the = WinCreat.NewWin(200, 160); 2. 设置窗体在控制台的位置:the->setXY(the, 200, 200);//改变窗口起始位置 否则默认为0,0 3. 重绘并显示窗体:the->update(the); 4. 删除窗体:the->free(the); #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)