lcd1602_pic16f877a_程序_代码.docVIP

  • 20
  • 0
  • 约2.1千字
  • 约 4页
  • 2017-06-08 发布于重庆
  • 举报
lcd1602_pic16f877a_程序_代码

#ifndef _LCD1602_H_ #define _LCD1602_H_ /***********************************************/ // pic16f877a //可调用函数 //lcd_prins uint x,uint y,uint z ;//注意保存为.h文件 直接调用 //lcd_single_prins uint x,uint y,uint z ; // // // 2013,01,07 // /***********************************************/ #define uchar unsigned char #define uint unsigned int //***************液晶功能控制参数***************// #define RS RD2 //#define RW RD6 #define EN RD3 #define PORT PORTD //用高四位 #define TRIS TRISD ///////*************************/////// void delay uint x ; void lcd_write uchar dat,uchar x ; //延时函数 void delay uint x uint a,b

文档评论(0)

1亿VIP精品文档

相关文档