Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
Diff: BusIn.h
- Revision:
- 83:8a40adfe8776
- Parent:
- 65:5798e58a58b1
- Child:
- 85:024bf7f99721
diff -r 6473597d706e -r 8a40adfe8776 BusIn.h
--- 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()
*/
