This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc2541引脚复用问题

Other Parts Discussed in Thread: CC2541

大家好

我想在cc2541复用 引脚 p1_0(led1) 来控制某个开关, 但是当前led中已经使用的该引脚(控制led变绿), 
因此想问下 :

如何才能引脚复用 ??

我的理解: 先把引脚设置为I/O口,在设置为输出;  

对p1_0引脚,我在代码中可以找到把他设置为输出,但是没有看到设置为I/O口, 请各位大师帮忙指点下。

谢谢