找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: lhn1324

[其它] [终于成功了] 【串口的RouterOS LCD显示屏】

[复制链接]
发表于 2013-2-13 23:48:57 | 显示全部楼层
                                                           #include <reg52.h>

#include <intrins.h>

#define uchar  unsigned char

#define uint   unsigned int

sbit LCD_RS = P2^6;            

sbit LCD_RW = P2^5;

sbit LCD_EN = P2^7;

#define delayNOP(); {_nop_();_nop_();_nop_();_nop_();};

uchar data  RXDdata[ ] = {0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,

                          0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,

                          0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20,

                          0x20,0x20,0x20,0x20,0x20,0x20,0x20,0x20};

uchar temp,buf,m,count;

uint k;

bit   playflag=0;





/**********************************************************

延时子程序

**********************************************************/

void delay1(uint ms)

{

   uchar k;


哪里需要改邮箱435677423@QQ.com
routeros
回复

使用道具 举报

发表于 2013-2-13 23:51:25 | 显示全部楼层
高手看看435677423@QQ.COM

1602.zip

1.68 KB, 下载次数: 6

routeros
回复

使用道具 举报

发表于 2013-2-24 08:44:43 来自手机 | 显示全部楼层
期待..........
routeros
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )

GMT+8, 2024-5-18 04:15 , Processed in 0.051257 second(s), 7 queries , Gzip On, Redis On.

Powered by Discuz! X3.5 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表