[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/msp430/BlinkMSP430
BlinkC.nc, NONE, 1.1.4.2 BlinkM.nc, NONE, 1.1.4.2 Makefile,
NONE, 1.1.4.2
Kevin Klues
klueska at users.sourceforge.net
Mon May 15 11:35:30 PDT 2006
- Previous message: [Tinyos-2-commits]
CVS: tinyos-2.x/apps/tests/mica2/Timer BlinkC.nc, NONE,
1.2.2.2 BlinkM.nc, NONE, 1.2.2.2 Makefile, NONE, 1.2.2.2
- Next message: [Tinyos-2-commits]
CVS: tinyos-2.x/apps/tests/mica2/mts300 Makefile, NONE,
1.2.2.2 TestMts300C.nc, NONE, 1.2.2.2 TestMts300P.nc, NONE, 1.2.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/msp430/BlinkMSP430
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18756/apps/tests/msp430/BlinkMSP430
Added Files:
Tag: tos-2-resource-pm-eval-cand
BlinkC.nc BlinkM.nc Makefile
Log Message:
Merging the development branch with the resource/power management evaluation branch. After this merge all files except those already commited should be identical.
--- NEW FILE: BlinkC.nc ---
// $Id: BlinkC.nc,v 1.1.4.2 2006/05/15 18:35:27 klueska Exp $
configuration BlinkC
{
}
implementation
{
components MainC as Main, BlinkM, LedsC, MSP430TimerC;
BlinkM.Boot -> Main;
Main.SoftwareInit -> LedsC;
BlinkM.Leds -> LedsC;
BlinkM.TimerControl -> MSP430TimerC.ControlB4;
BlinkM.TimerCompare -> MSP430TimerC.CompareB4;
}
--- NEW FILE: BlinkM.nc ---
// $Id: BlinkM.nc,v 1.1.4.2 2006/05/15 18:35:28 klueska Exp $
module BlinkM
{
uses interface MSP430TimerControl as TimerControl;
uses interface MSP430Compare as TimerCompare;
uses interface Boot;
uses interface Leds;
}
implementation
{
event void Boot.booted()
{
call Leds.led1On();
call TimerControl.setControlAsCompare();
call TimerCompare.setEventFromNow( 8192 );
call TimerControl.enableEvents();
}
async event void TimerCompare.fired()
{
call Leds.led0Toggle();
call TimerCompare.setEventFromPrev( 8192 );
}
}
--- NEW FILE: Makefile ---
COMPONENT=BlinkC
include $(MAKERULES)
- Previous message: [Tinyos-2-commits]
CVS: tinyos-2.x/apps/tests/mica2/Timer BlinkC.nc, NONE,
1.2.2.2 BlinkM.nc, NONE, 1.2.2.2 Makefile, NONE, 1.2.2.2
- Next message: [Tinyos-2-commits]
CVS: tinyos-2.x/apps/tests/mica2/mts300 Makefile, NONE,
1.2.2.2 TestMts300C.nc, NONE, 1.2.2.2 TestMts300P.nc, NONE, 1.2.2.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list