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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I want to malloc some memory for an interface such as DigitalOut. Then, I want to locally instantiate a DigitalOut with a pin (because DigitalOut has no default constructor). Then I want to access that same DigitalOut pin later on. Any ideas on how to do this?