上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: 1 #include "stm32f10x.h"// 相当于51单片机中的 #include 2 #include "stm32f10x_gpio.h" 3 /*通过按键实现LED灯的亮灭 4 *本项目是两个效果,烧程序时注意分开!!!!! 5 *1、LED实现的效果实是K1一直按下LED一直亮,直到K1松开LED熄灭 6 *2、按一下key实现LED亮,再按一下实现LED灭... 阅读全文
posted @ 2017-10-19 16:52 徐景祥 阅读(16228) 评论(0) 推荐(0)
摘要: 让大疆去做测绘 航线规划软件APP http://blog.zhulong.com/u10783270/blogdetail7162540.html RockyCapture无人机航线飞行控制软件 谷歌地图版本 http://blog.sina.com.cn/s/blog_14a9389140102 阅读全文
posted @ 2017-10-19 09:40 徐景祥 阅读(6793) 评论(0) 推荐(0)
摘要: 1 #include "stm32f10x.h" 2 #include "stm32f10x_gpio.h" 3 4 //内核,(NVIC) 5 #include "misc.h" 6 7 //点亮红色灯 PB5 8 //step1:使能 9 Rcc_APB2PeriPhClockCmd( 10 Rcc_APB2PeriPh_GPIOB,ENABLE); 11 //ste... 阅读全文
posted @ 2017-10-18 09:30 徐景祥 阅读(577) 评论(0) 推荐(0)
摘要: 1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 #include "string.h" 4 /*使用指针的指针对字符串排序*/ 5 /*排序是按照汉字的首字母进行*/ 6 /* 7 *整体思路:1、输出排序前的数组元素 8 9 * 2、输出排序后的数组元素 10 ... 阅读全文
posted @ 2017-10-17 22:04 徐景祥 阅读(4624) 评论(0) 推荐(0)
摘要: 1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 void main() 4 { 5 int a[10];//定义整型数组 6 int *p,i; //定义指针和变量 7 puts("\nPlease input ten integer:\n"); 8 for(i=0;i<10;i++) 9 ... 阅读全文
posted @ 2017-10-17 22:01 徐景祥 阅读(5616) 评论(0) 推荐(0)
摘要: 1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 /* 4 *知识点:指针、指针的指针、数组、 5 */ 6 void main() 7 { 8 /*使用指针数组创建字符串数组*/ 9 char *strings[]= 10 { 11 "赵海军","钱弟弟","瓯江","蝴蝶... 阅读全文
posted @ 2017-10-17 21:56 徐景祥 阅读(1887) 评论(0) 推荐(0)
摘要: /*****************************************************************************/ 自己独里做的 阅读全文
posted @ 2017-10-17 21:54 徐景祥 阅读(940) 评论(0) 推荐(0)
摘要: 1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 /*婚礼上的谎言*/ 4 /* 5 *3个A、B、C新郎,3个新娘X、Y、Z 6 *A说他将和X结婚 7 *X说她的未婚夫是C 8 *C说他将和Z结婚 9 *其实以上都是假的 10 *难点,机器怎么判断的 11 */ 12 void main() 13 { 14 ... 阅读全文
posted @ 2017-10-17 17:51 徐景祥 阅读(327) 评论(0) 推荐(0)
摘要: strcmp函数实现及分析 http://blog.csdn.net/wgenek/article/details/7257435 阅读全文
posted @ 2017-10-15 14:02 徐景祥 阅读(700) 评论(0) 推荐(0)
摘要: 1 /* Note:Your choice is C IDE */ 2 #include "stdio.h" 3 /*把个人信息写在数组里,再通过指针输出里面的内容*/ 4 5 /*知识点:数组、指针*/ 6 7 void main() 8 { 9 int a[5],*p,i; 10 11 for(i=0;i<=5;i++) 12 { 13... 阅读全文
posted @ 2017-10-12 20:45 徐景祥 阅读(410) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页