搜索资源列表
lcd1602
- 经典的液晶显示程序 1602 详细说明-#include<reg51.h> #include<intrins.h>
STC
- STC单片机头文件-stc.h,有了这个头文件就不需要reg51.h、reg52.h之类的头文件了,并且里面包含了STC单片机特有的寄存器如CLK_DIV。-STC SCM header files-stc.h, with this header file does not need reg51.h, reg52.h the class header file, and the STC microcontroller which contains a unique register as CLK
2.4-S6D1121
- 51单片机,2.4寸彩屏驱动,#include <reg51.h> #include <intrins.h> #include <sys\sys.h> #include <lcd\lcd.h> /* http://ttmcu.taobao.com 代码测试环境:单片机STC12LE5A60S2,晶振33M 单片机工作电压3.3V 程序默认IO连接方式: 控制线:RS-P3^5 WR-P3^6 RD-P3^7 CS-P
超声波测距(LCD1602显示)
- #include<reg51.h> #include<intrins.h> #include"lcd.h" sbit Trig = P2^1; sbit Echo = P2^0; unsigned char PuZh[]=" Pechin Science "; unsigned char code ASCII[15] = {'0','1','2','3','4','5','6','7','8','