代码搜索结果
找到约 10,000 项符合
CAN Bus 的代码
can
#include
#include
#define uint unsigned int
#define uchar unsigned char
uchar num,i;
uchar wenzi[]={"woaaaaaaaaaaaaab"};
sbit rs=P2^5;
sbit rw=P2^6;
sbit e=P2^7;
void del
can
礦ision3 Build Log
Project:
d:\我的文档\桌面\can总线相关文件\1602\1602编程\1602.uv2
Project File Date: 04/01/2011
Output:
can
"1602.obj"
TO "1602"
can
### uVision2 Project, (C) Keil Software
### Do not modify !
cExt (*.c)
aExt (*.s*; *.src; *.a*)
oExt (*.obj)
lExt (*.lib)
tExt (*.txt; *.h; *.inc)
pExt (*.plm)
CppX (*.cpp)
DaveTm {
can
void delay(uint z)
{
uint x,y;
for(x=z;x>0;x--)
for(y=110;y>0;y--);
}
void write_com(uchar com)//写命令
{
rs=0;//写命令
lcden=0;使能端
P0=com;
delay(5);
lcden=1;
delay(5);
lcden=0;