• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






zxf

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2 3 4 5 6 下一页

2017年12月4日

动态数码管
摘要: #include <reg52.h> #define uint unsigned int #define uchar unsigned char uchar duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90,0x83,0xc6,0xa 阅读全文
posted @ 2017-12-04 20:52 邹秀芳 阅读(164) 评论(0) 推荐(0)
 
静态数码管
摘要: /* Main.c file generated by New Project wizard * * Created: 周日 十月 22 2017 * Processor: 80C51 * Compiler: Keil for 8051 */ #include #define uint unsigned int #define uchar unsigned char u... 阅读全文
posted @ 2017-12-04 20:50 邹秀芳 阅读(168) 评论(0) 推荐(0)
 
晶振复位原理图
摘要: 阅读全文
posted @ 2017-12-04 20:48 邹秀芳 阅读(407) 评论(0) 推荐(0)
 
流水等上下
摘要: /* #include #define uint unsigned int #define uchar unsigned char void delayn50ms(uint n) { uint i,j; for(i=0;i//头文件 L_M(); //流水灯左移控制程序 R_M(); ... 阅读全文
posted @ 2017-12-04 20:47 邹秀芳 阅读(128) 评论(0) 推荐(0)
 
求100内数的偶数和
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" void main() { int a=1,sum=0; for(;a<=100;a+=2) { sum+=a; } printf("%d",sum); } 阅读全文
posted @ 2017-12-04 20:43 邹秀芳 阅读(186) 评论(0) 推荐(0)
 
数的平方和
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" void main() { int a=1,sum=0; for(;a<=100;a+=2) { sum+=a; printf("%d\n",sum); } for(a=1;a<=100;a++) ... 阅读全文
posted @ 2017-12-04 20:41 邹秀芳 阅读(151) 评论(0) 推荐(0)
 
班长的选举
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" #include "string.h" void main() { int zs,ls,ww,zl;//定义一个给参选人员的票数 int max;// int xuhao;// char name[5];//参选人员的名字 zs=ls=ww=zl=0;//初始票数都为0 pr... 阅读全文
posted @ 2017-12-04 20:40 邹秀芳 阅读(624) 评论(0) 推荐(0)
 
求算 1到10的阶乘和
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" void main() { int i,j;/* i是1-10之间的任一整数,j是i-1之间的任一整数*/ long int result;//result是1-10之间每个数的阶乘结果result=1; long int sum=0;//sum是每个数的阶乘结果之和 for(i=1;i... 阅读全文
posted @ 2017-12-04 20:01 邹秀芳 阅读(43719) 评论(1) 推荐(0)
 
计算素数个数 并输出
摘要: /* Note:Your choice is C IDE */ #include "stdio.h" void main() { int m,i,k,h=0,leap; m=101; while(m<=200)//用while确定101-200之间的整数范围 { k=m/2;//求出101-200之间的任一整数的2/1 i=2; ... 阅读全文
posted @ 2017-12-04 20:00 邹秀芳 阅读(982) 评论(0) 推荐(0)
 
定时/计数器
摘要: #include #define uint unsigned int #define uchar unsigned char sbit lw=P3^1; sbit ld=P3^0; uchar duan[]={0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90}; uchar wei[]={0x01,0x02,0x04,0x08,0... 阅读全文
posted @ 2017-12-04 19:59 邹秀芳 阅读(183) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 下一页