CSR8670怎样点亮一个二极管
用CSR8670怎样点亮一个二极管?
我用了
#define LED_6 (1<<6)
PioSetDir32 (LED_6,~0);
PioSet32(LED_6,1);
好像没什么用处
高手求教,万分感谢
第二个参数设置错了,改为如下试试
PioSetDir32 (LED_6,1<<6);
PioSet32(LED_6,1<<6);
lb4btspeaker 发表于 2015-8-5 16:22
第二个参数设置错了,改为如下试试
PioSetDir32 (LED_6,1
谢谢!是对的:lol
谢谢 学到了
you did a good job ,come on
页:
[1]