DigitalInOut
Mbed OS 2 and Mbed OS 5
This is the handbook for Mbed OS 2. If you’re working with Mbed OS 5, please see the Mbed OS 5 documentation. For the latest DigitalInOut API, please see DigitalInOut.
The DigitalInOut interface is used as a bi-directional digital pin, used to read the value of a digital pin when set as an input, or write the value when set as an output.
Any of the numbered mbed pins can be used as a DigitalInOut.
Hello World!¶
[Repository '/users/mbed_official/code/DigitalInOut_HelloWorld_FRDM-KL25Z/docs/tip/main_8cpp_source.html' not found]
API¶
API summary
Import librarymbed
Interface¶
The DigitalInOut Interface can be used on any pin with a blue label.
See the Pinout page for more details |