?? mhleachpsc.nc
字號:
/*
* MHLeachRouter.nc - The configuration for the LEACH router
*
* @author Geoff Martin
* @date 18th April 2004
* @version 1.0
*/
configuration MHLeachPSC
{
provides
{
interface StdControl;
interface RouteSelect;
}
}
implementation
{
components MHLeachPSM, GenericComm as PSMComm, QueuedSend as PSMQueuedSend,
TimerC, RandomLFSR, LedsC;
StdControl = MHLeachPSM.StdControl;
RouteSelect = MHLeachPSM.RouteSelect;
MHLeachPSM.StatusTimer -> TimerC.Timer[unique("Timer")];
MHLeachPSM.RoundTimer -> TimerC.Timer[unique("Timer")];
MHLeachPSM.ReceiveMsg -> PSMComm.ReceiveMsg[AM_MHMESSAGE];
MHLeachPSM.SendMsg -> PSMQueuedSend.SendMsg[AM_MHMESSAGE];
MHLeachPSM.Random -> RandomLFSR.Random;
MHLeachPSM.Leds -> LedsC.Leds;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -