X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=blobdiff_plain;f=tos%2Fplatforms%2Fshimmer%2FPlatformLedsC.nc;h=b6d2dd0c57ea5f3020a9503128a80d72769f6067;hp=5fc1d274eb8e4b69f69ba45b694daa3f82567e3f;hb=e9bfab607e051bae6afb47b44892ce37541d1b44;hpb=adf1de6c009d13b7b52e68535c63b28f59c97400 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; + }