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.
10 years, 9 months ago.
Tri-state DigitalOut (0,1,Hight impedance) ?
Hello
To configure dynamically a componant (DRV8834 Stepper driver) I need a pin to "output" hight level, low level and hight impedence level (as if it was left opened).
A pin is configured as DigitalOut so the I can configure it at Hight or Low level but not at Z level.
Is there a way to do this ?
2 Answers
10 years, 9 months ago.
You can use DigitalInOut to make tri-state pins: http://mbed.org/handbook/DigitalInOut. You just need to manually switch it between input and output.