⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timesyncc.nc

📁 Tinyos LEACH protocol modify
💻 NC
字号:
includes MH;configuration TimeSyncC{	provides	{		interface StdControl;		interface GlobalTime;	}}implementation {	components TimeSyncM, SimpleTime, LedsC, TimerC, QueuedSend as TSQueuedSend, GenericComm as TSComm;	StdControl = TimeSyncM.StdControl;	GlobalTime = TimeSyncM.GlobalTime;	TimeSyncM.TimerControl -> TimerC.StdControl;	TimeSyncM.SimpleControl -> SimpleTime.StdControl;	TimeSyncM.TSQControl -> TSQueuedSend.StdControl;	TimeSyncM.TSCommControl -> TSComm.Control;	TimeSyncM.Time -> SimpleTime.Time;	TimeSyncM.Leds -> LedsC.Leds;	TimeSyncM.SendMsg -> TSQueuedSend.SendMsg[AM_TIMESYNC];	TimeSyncM.ReceiveMsg -> TSComm.ReceiveMsg[AM_TIMESYNC];	TimeSyncM.Timer -> TimerC.Timer[unique("Timer")];}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -