[置顶] 随机数的完美获得

摘要: /****************************要验证准确性可去掉注释掉的部分****************************/#include <stdio.h>#include <stdlib.h>#include <time.h>#define numb1 15#define 阅读全文

posted @ 2016-05-01 10:49 renzhaoyang 阅读(308) 评论(0) 推荐(0)

[置顶] SDL(PIN图)(每次自己随机分配)(参考了Anjaxs的随笔)

摘要: #include <stdio.h>#include <stdlib.h>#include <SDL2/SDL.h>#include <SDL2/SDL_image.h> /*用显示图片*/#include <time.h>int main(int argc,char* argv[]){/***** 阅读全文

posted @ 2016-04-30 18:58 renzhaoyang 阅读(396) 评论(0) 推荐(0)

2017年4月22日

Matlab之step()的用法

摘要: step(sys) step(sys,Tfinal),Tfinal 表示截止时间step(sys,t) t=(ti:tp:TF),设置起始时间,步进时间,截止时间step(sys1,sys2,...,sysN) 在同一个图中显示多个图像 step(G1,'y',G2,'r:',t); 显示线的颜色 阅读全文

posted @ 2017-04-22 17:08 renzhaoyang 阅读(24647) 评论(0) 推荐(0)

2016年8月25日

分立元件的线性稳压电路

摘要: C4电容小,因为电流比较小,用一个小的电容就可以来控制一个较大的电流,可以更有效的来稳定电路。 阅读全文

posted @ 2016-08-25 18:15 renzhaoyang 阅读(1058) 评论(0) 推荐(0)

2016年8月9日

2016_8_8_硬件总结,

摘要: 1、 PCB的手动腐蚀板时,焊盘下面不能打过孔 2、 在LM2940的引脚为,一脚为input,output为3脚,在芯片底部的盘为GND。 3、 LM1084的一脚为GND,底部的4脚为在内部和OUTPUT口相连接。其结构和LM1117类似。 4、 在设计时对芯片的封装一定要进行严格的验证,其中要 阅读全文

posted @ 2016-08-09 07:01 renzhaoyang 阅读(199) 评论(0) 推荐(0)

2016年5月2日

在codeblocks 下,C++编译不成功一直出现“undefined reference to `std::cout'|

摘要: 自己搞了好久才知道,编辑c++,要用g++ 希望对大家有帮助 阅读全文

posted @ 2016-05-02 15:12 renzhaoyang 阅读(5431) 评论(0) 推荐(1)

2016年4月28日

Detected confilicting assignments for the following nod

摘要: 问题:在分配管脚后总是出现下面这个错误报告,编译不过。 Error (171172):Detected confilicting assignments for the following nodes. Error (171173):Node mosi1_io from partition Top 阅读全文

posted @ 2016-04-28 20:46 renzhaoyang 阅读(1033) 评论(0) 推荐(0)

< 2025年6月 >
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 1 2 3 4 5
6 7 8 9 10 11 12

导航

统计

点击右上角即可分享
微信分享提示