Sample code on how to pass an optional function pointer to a library and set a single pin to either InterruptIn or DigitalOut.

Dependencies:   mbed

Wiki pages

Sort by: Score, Alphabetical, Date