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:
75:dc225afb6914
Parent:
73:1efda918f0ba
Child:
76:824293ae5e43
--- a/TARGET_KL46Z/PinNames.h	Fri Dec 13 14:18:40 2013 +0200
+++ b/TARGET_KL46Z/PinNames.h	Thu Dec 19 15:51:14 2013 +0200
@@ -231,10 +231,11 @@
     NC = (int)0xFFFFFFFF
 } PinName;
 
-/* PullDown not available for KL46 */
+/* Pull modes for input pins */
 typedef enum {
     PullNone = 0,
-    PullUp = 2,
+    PullDown = 2,
+    PullUp = 3
 } PinMode;
 
 #ifdef __cplusplus