From 31b0233f3cac6cbcd306a6960f761fbb307afeb2 Mon Sep 17 00:00:00 2001 From: ayer1 Date: Mon, 28 Sep 2009 18:24:51 +0000 Subject: [PATCH] added missing fourth led. --- tos/platforms/shimmer/PlatformLedsC.nc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tos/platforms/shimmer/PlatformLedsC.nc b/tos/platforms/shimmer/PlatformLedsC.nc index 5fc1d274..b6d2dd0c 100644 --- a/tos/platforms/shimmer/PlatformLedsC.nc +++ b/tos/platforms/shimmer/PlatformLedsC.nc @@ -23,13 +23,18 @@ /** * @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; + } -- 2.39.2