摘要: 1、extern void LedInit( ); 出现Deprecated declaration LedInit - give arg types的警告。加上void,变成extern void LedInit(void); 可消除警告。2、LPC2132的IO翻转:(不用IOPIN)if (Px->IOSET & (1 << IOx)) Px->IOCLR = (1 << IOx);elsePx->IOSET = (1 << IOx);3、if(i<10)Aelse if(i<20)B经测试,若i<10,则只 阅读全文
posted @ 2013-03-22 11:16 右南 阅读(139) 评论(0) 推荐(0) 编辑