The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
mbed 2
This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.
Diff: DigitalIn.h
- Revision:
- 123:b0220dba8be7
- Parent:
- 122:f9eeca106725
--- a/DigitalIn.h Thu Jul 07 14:34:11 2016 +0100 +++ b/DigitalIn.h Fri Aug 12 13:04:35 2016 +0200 @@ -99,14 +99,12 @@ return gpio_is_connected(&gpio); } -#ifdef MBED_OPERATORS /** An operator shorthand for read() */ operator int() { // Underlying read is thread safe return read(); } -#endif protected: gpio_t gpio;