代码搜索:2
找到约 10,000 项符合「2」的源代码
代码结果 10,000
www.eeworm.com/read/19250/829408
uv2 u2.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1, 0x0
Options 1,0,0 // Target 'Ta
www.eeworm.com/read/19261/830635
uv2 8255(2).uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,2, 0x0
Options 1,0,0
www.eeworm.com/read/21196/835577
pdf chap2-2.pdf
www.eeworm.com/read/21958/839923
lmk 2x2.lmk
www.eeworm.com/read/24964/844320
uv2 auto2.uv2
### uVision2 Project, (C) Keil Software
### Do not modify !
Target (Target 1), 0x0000 // Tools: 'MCS-51'
Group (Source Group 1)
File 1,1, 0x0
Options 1,0,0 // Targ
www.eeworm.com/read/25215/845905
c 14-2-2.c
#include //头文件
#define COUNT 25 //宏定义
void main() //主函数
{
printf("COUNT =%d\n", COUNT); //输出COUNT =10
#undef COUNT //撤销宏定义
//printf("COUNT =%d\n", C
www.eeworm.com/read/25215/846095
c 11-2-2.c
#include //头文件
int max(int a,int b) //定义函数,用于求两个数中的最大值
{
if(a>b) //if判断语句
return a; //如果a大于b,则函数返回a
else
return b; //如果a小于b,则函数返回b
}
void main()
www.eeworm.com/read/25215/846149
c 6-2-2.c
#include //头文件
sbit sel=P0^0; //位定义
void main() //主函数
{
P1=0x01; //P1端口预置数
while(1) //循环执行程序
{
if (sel==1) //判断端口数值,如果为高电平
{
P1=P1>>1; //P1端口数据右
www.eeworm.com/read/25215/846210
c 12-2-2.c
#include //头文件
#include
#include
void main(void) //主函数
{
static char str1[]="012345abc";
static char str2[]="012345ABC";
char i;
SCON=0x50;
www.eeworm.com/read/25215/846283
c 20-2-2.c
#include
#include
#include
int count0;
int count1;
Thread0 () _task_ 0 //任务0
{
os_create_task(1); //创建任务1
while(1)
{
printf("count0=