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.
Diff: BusInOut.h
- Revision:
- 55:d722ed6a4237
- Parent:
- 54:71b101360fb9
- Child:
- 59:0883845fe643
--- a/BusInOut.h Tue Jan 08 12:46:36 2013 +0000 +++ b/BusInOut.h Wed Jan 16 12:56:34 2013 +0000 @@ -31,7 +31,7 @@ class BusInOut { public: - + /** Create an BusInOut, connected to the specified pins * * @param p<n> DigitalInOut pin to connect to bus bit p<n> (p5-p30, NC) @@ -57,7 +57,7 @@ */ void write(int value); - + /** Read the value currently output on the bus * * @returns @@ -78,7 +78,7 @@ * @param mode PullUp, PullDown, PullNone */ void mode(PinMode pull); - + #ifdef MBED_OPERATORS /** A shorthand for write() */