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: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: BusIn.h
- Revision:
- 85:024bf7f99721
- Parent:
- 83:8a40adfe8776
- Child:
- 93:e188a91d3eaa
diff -r 0b3ab51c8877 -r 024bf7f99721 BusIn.h
--- a/BusIn.h Mon May 19 18:14:09 2014 +0100
+++ b/BusIn.h Wed Jun 11 15:14:05 2014 +0100
@@ -51,13 +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()
*/
@@ -66,6 +66,11 @@
protected:
DigitalIn* _pin[16];
+
+ /* disallow copy constructor and assignment operators */
+private:
+ BusIn(const BusIn&);
+ BusIn & operator = (const BusIn&);
};
} // namespace mbed


