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 mbed official

Revision:
55:d722ed6a4237
Parent:
54:71b101360fb9
Child:
59:0883845fe643
--- a/PortIn.h	Tue Jan 08 12:46:36 2013 +0000
+++ b/PortIn.h	Wed Jan 16 12:56:34 2013 +0000
@@ -60,11 +60,11 @@
      *
      *  @param port Port to connect to (Port0-Port5)
      *  @param mask A bitmask to identify which bits in the port should be included (0 - ignore)
-        */ 
+        */
     PortIn(PortName port, int mask = 0xFFFFFFFF) {
         port_init(&_port, port, mask, PIN_INPUT);
     }
-    
+
     /** Read the value currently output on the port
      *
      *  @returns
@@ -73,7 +73,7 @@
     int read() {
         return port_read(&_port);
     }
-    
+
     /** Set the input pin mode
      *
      *  @param mode PullUp, PullDown, PullNone, OpenDrain
@@ -81,10 +81,10 @@
     void mode(PinMode mode) {
         port_mode(&_port, mode);
     }
-    
+
     /** A shorthand for read()
      */
-    operator int() { 
+    operator int() {
         return read();
     }