version_2.0

Dependents:   cc3000_ping_demo_try_2

Fork of mbed by mbed official

Revision:
83:8a40adfe8776
Parent:
65:5798e58a58b1
Child:
85:024bf7f99721
--- a/BusIn.h	Mon Apr 07 18:28:36 2014 +0100
+++ b/BusIn.h	Mon Apr 28 17:39:05 2014 +0100
@@ -51,7 +51,13 @@
      *   An integer with each bit corresponding to the value read from the associated DigitalIn pin
      */
     int read();
-
+    
+    /** Set the input pin mode
+     *
+     *  @param mode PullUp, PullDown, PullNone
+     */
+    void mode(PinMode pull);
+	
 #ifdef MBED_OPERATORS
     /** A shorthand for read()
      */