GrayAngel

2017年2月12日

动态数码管

摘要: 主要区分位选和段选 段选数据 unsigned char code DIG_CODE[17] = {0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f,0x6f,0x77,0x7c,0x39,0x5e,0x79,0x71};//0、1、2、3、4、5、6、7、8 阅读全文

posted @ 2017-02-12 13:52 GrayAngel 阅读(166) 评论(0) 推荐(0) 编辑
protel项目创建

摘要: File->New->Project->PCB Project//新建PCB项目 Save Project As... Project->Add New to Project->Schematic//新建电路设计图纸 Save As View->Workspaces Panels->System-> 阅读全文

posted @ 2017-02-12 08:55 GrayAngel 阅读(226) 评论(0) 推荐(0) 编辑

2017年2月11日

protel dxp 2004安装与破解

摘要: 安装准备 压缩文件包内容: dxp2004汉化补丁 dxp2004元件库 Network License Setup网络版注册机 Protel DXP2004原程序 Protel2004_sp2_单机版注册机 安装步骤 proteldxp2004\Protel DXP2004原程序\Setup.ex 阅读全文

posted @ 2017-02-11 10:05 GrayAngel 阅读(2934) 评论(1) 推荐(0) 编辑
51蜂鸣器

摘要: 蜂鸣器的乐谱由频率和节拍构成 频率常数即音乐术语中的音调, 而节拍常数即音乐术语中的多少拍; 阅读全文

posted @ 2017-02-11 08:16 GrayAngel 阅读(192) 评论(0) 推荐(0) 编辑
51单片机头文件

摘要: intrins.h 在C51单片机编程中,头文件INTRINS.H的函数使用起来,就会让你像在用汇编时一样简便. 内部函数 描述 _crol_ 字符循环左移 _cror_ 字符循环右移 _irol_ 整数循环左移 _iror_ 整数循环右移 _lrol_ 长整数循环左移 _lror_ 长整数循环右移 阅读全文

posted @ 2017-02-11 07:27 GrayAngel 阅读(824) 评论(0) 推荐(0) 编辑

2017年2月10日

key单片机按键抖动

摘要: 1 //write by:cyt 2 //Time:2017-2-10 3 //Porject Name:key shake_destory 4 #include<reg51.h> 5 #define GPIO_KEY P0/// 6 void Delay1ms(unsigned char n); 阅读全文

posted @ 2017-02-10 20:55 GrayAngel 阅读(748) 评论(0) 推荐(0) 编辑
code about led_shake

摘要: 1 //write by:cyt 2 //Project Name:Led on/off 3 //Time:2017-2-10 4 #include<reg51.h> 5 void delay(int c) 6 { 7 int a=38; 8 int b=130; 9 for(;c>0;c--) 1 阅读全文

posted @ 2017-02-10 16:35 GrayAngel 阅读(177) 评论(0) 推荐(0) 编辑
Keil的断点调试问题解决

摘要: keil只有在程序能正常运行时才能添加断点后在点击调试任务时,断点标记不消失 阅读全文

posted @ 2017-02-10 16:32 GrayAngel 阅读(2303) 评论(0) 推荐(0) 编辑
keil折叠代码

摘要: 在代码页面右键 Outlining->Start All Outlining 阅读全文

posted @ 2017-02-10 15:46 GrayAngel 阅读(846) 评论(0) 推荐(0) 编辑
51单片机延时计算方法

摘要: keil里面选取delay为断点 记录程序运行到此处所用的时间t_start 运行delay(1) 记录程序运行完后的时间t_end t_end-t_start即为运行1次的时间。 阅读全文

posted @ 2017-02-10 15:17 GrayAngel 阅读(1047) 评论(0) 推荐(0) 编辑