]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
added missing fourth led.
authorayer1 <ayer1>
Mon, 28 Sep 2009 18:24:51 +0000 (18:24 +0000)
committerayer1 <ayer1>
Mon, 28 Sep 2009 18:24:51 +0000 (18:24 +0000)
tos/platforms/shimmer/PlatformLedsC.nc

index 5fc1d274eb8e4b69f69ba45b694daa3f82567e3f..b6d2dd0c57ea5f3020a9503128a80d72769f6067 100644 (file)
 /**
  * @author Joe Polastre
  * @version $Revision$ $Date$
+ *
+ * @author Mike Healy
+ * @date April 20, 2009 - added support for 4th (green) LED on SHIMMER
  */
+
 #include "hardware.h"
 
 configuration PlatformLedsC {
   provides interface GeneralIO as Led0;
   provides interface GeneralIO as Led1;
   provides interface GeneralIO as Led2;
+  provides interface GeneralIO as Led3;
   uses interface Init;
 }
 implementation
@@ -39,6 +44,7 @@ implementation
     , new Msp430GpioC() as Led0Impl
     , new Msp430GpioC() as Led1Impl
     , new Msp430GpioC() as Led2Impl
+    , new Msp430GpioC() as Led3Impl
     ;
   components PlatformP;
 
@@ -53,5 +59,8 @@ implementation
   Led2 = Led2Impl;
   Led2Impl -> GeneralIOC.Port42;
 
+  Led3 = Led3Impl;
+  Led3Impl -> GeneralIOC.Port43;
+
 }