Fork of the official mbed C/C SDK provides the software platform and libraries to build your applications for RenBED.
Dependents: 1-RenBuggyTimed RenBED_RGB RenBED_RGB_PWM RenBED_RGB
Fork of mbed by
Diff: BusIn.h
- Revision:
- 85:024bf7f99721
- Parent:
- 83:8a40adfe8776
- Child:
- 93:e188a91d3eaa
--- 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