2015年6月28日

摘要: 在keil里面写STM32程序,这样写GPIO_WriteBit(GPIOC,GPIO_Pin_9,1),编译的时候就报enumerated type mixed with another type警告, 这说明数据类型混用了,进入GPIO_WriteBit函数发现其原型是void GPIO_Wri... 阅读全文
posted @ 2015-06-28 21:11 天奕 阅读(2997) 评论(0) 推荐(0) 编辑

2015年6月27日

摘要: 今天在用keil写程序时 编译出现statement is unreachable 的警告,仔细看了下程序 发现 我在 return 后面写了句代码,statement is unreachable 的意思就是说 执行不到return后面的语句 如 char c;c=1; ... 阅读全文
posted @ 2015-06-27 10:22 天奕 阅读(1318) 评论(0) 推荐(0) 编辑

导航