Mbed OS 2 and Mbed OS 5
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.
The DigitalInOut Interface can be used on any pin with a blue label.
|See the Pinout page for more details|