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.

Revision:
123:b0220dba8be7
Parent:
122:f9eeca106725
--- a/PwmOut.h	Thu Jul 07 14:34:11 2016 +0100
+++ b/PwmOut.h	Fri Aug 12 13:04:35 2016 +0200
@@ -149,7 +149,6 @@
         core_util_critical_section_exit();
     }
 
-#ifdef MBED_OPERATORS
     /** A operator shorthand for write()
      */
     PwmOut& operator= (float value) {
@@ -170,7 +169,6 @@
         // Underlying call is thread safe
         return read();
     }
-#endif
 
 protected:
     pwmout_t _pwm;