Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 8 months ago.
how to set a pin as either anlog in or digital out.........?
hai
i am using mbed to program my nrf51822.i want to set the analog pin p6 as analog in in one situation and as a digital out in another situation. but i am unable to do so. so can i set the pin like this.....?
1 Answer
7 years, 7 months ago.
Hi Nethram,
Thanks for getting in touch :)
Do have a look here: https://developer.mbed.org/questions/2335/AnalogIn-and-DigitalOut-on-same-pin/
Regards,
Andrea, team mbed