会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤鸿寄远
博客园
首页
新随笔
联系
订阅
管理
2018年9月27日
C51
摘要: 数码管从左向右依次显示1-6 #include<reg52.h>#include<intrins.h>#define uint unsigned int#define uchar unsigned charsbit D=P2^6;sbit W=P2^7;sbit D0=P1^0;uchar num;
阅读全文
posted @ 2018-09-27 23:38 孤鸿寄远
阅读(160)
评论(0)
推荐(0)
2018年9月18日
C51学习
摘要: 十六个数字循环显示 #include<reg52.h>#include<intrins.h>#define uint unsigned int#define uchar unsigned charsbit D=P2^6;sbit W=P2^7;uchar num;uint x,y,z;uchar c
阅读全文
posted @ 2018-09-18 13:09 孤鸿寄远
阅读(106)
评论(0)
推荐(0)
2018年9月6日
C51学习
摘要: 2、8个二极管来回亮,每次亮蜂鸣器滴滴两声; #include<reg52.h>#include<intrins.h>#define uint unsigned int#define uchar unsigned charuint x,y,z;uchar temp;sbit b=P2^3;void
阅读全文
posted @ 2018-09-06 17:12 孤鸿寄远
阅读(69)
评论(0)
推荐(0)
c51的学习
摘要: 1、点亮发光二极管,8个发光管由上至下间隔1秒流动,其中每个管亮500没事, 灭500ms,亮时蜂鸣器响,灭时关闭蜂鸣器,一直重复下去 。 #include<reg52.h>#include<intrins.h>#define uint unsigned int#define uchar unsig
阅读全文
posted @ 2018-09-06 15:07 孤鸿寄远
阅读(121)
评论(0)
推荐(0)
公告