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.
9 years, 5 months ago.
How can I configure the pull up / down on a Nucleo F401 board ?
I want to have the pull-up resistors enabled on some inputs on my Nucleo F401 board. I did several searches but no luck. Any tips ?
Thanks.
1 Answer
9 years, 5 months ago.
The info is here https://developer.mbed.org/users/mbed_official/code/mbed/docs/tip/classmbed_1_1DigitalIn.html
Use the pin.mode() method. Parameters are PullUp, PullDown, PullNone, OpenDrain