代码搜索:Key
找到约 10,000 项符合「Key」的源代码
代码结果 10,000
www.eeworm.com/read/286264/8775925
opt key4.opt
### 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 {
www.eeworm.com/read/286264/8775929
avi key4.avi
www.eeworm.com/read/286264/8775931
c key4.c
/*如果K1被按下,K2也被按下,那么灯全亮,松开K2,灯也不灭,如果K1松开,则灯全灭。
*/
#include "reg51.h"
void main()
{ for(;;)
{ P3|=0x3c;
if((P3|0xfb)!=0xff) /*K1被按下了吗?*/
{ if((P3|0xf7)!=0xff) /*K2被按下了吗?*/
P1=0; /*两者
www.eeworm.com/read/286264/8775934
plg key4.plg
礦ision2 Build Log
Project:
F:\单片机的C语言光盘\exam\CH04\key4\key4.uv2
Project File Date: 08/04/2005
Output:
Build target 'Target 1'
compiling key4.
www.eeworm.com/read/286264/8775941
obj key4.obj
www.eeworm.com/read/286264/8775944
lst key4.lst
C51 COMPILER V7.06 KEY4 03/01/2006 14:57:36 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE KEY4
OBJECT MODULE PLACED IN ke
www.eeworm.com/read/286264/8776023
plg key3.plg
礦ision2 Build Log
Project:
F:\单片机的C语言光盘\exam\CH04\key3\key3.uv2
Project File Date: 08/04/2005
Output:
Build target 'Target 1'
compiling KEY3.
www.eeworm.com/read/286264/8776026
c key3.c
/*按下K1点亮LED,按下K2熄灭LED,且K2优先,只要K2被按下LED就不能被点亮。*/
#include "reg51.h"
void main()
{ for(;;)
{ P3|=0x3c;
if((P3|0xf7)!=0xff) /*如果K2被按下*/
P1=0xff;
else if((P3|0xfb)!=0xff) /*否则判断K1是否被按下*/
www.eeworm.com/read/286264/8776027
avi key3.avi
www.eeworm.com/read/286264/8776031
opt key3.opt
### 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 {