📄 countsleepc.nc
字号:
// $Id: CountSleepC.nc,v 1.1 2004/05/29 21:07:17 jpolastre Exp $// @author Cory Sharp <cssharp@eecs.berkeley.edu>// CountDual:// If the mote id is 1, count to the leds and send it over the radio.// Otherwise, receive the count from the radio and display it on the leds.includes CountMsg;configuration CountSleepC{}implementation{ components Main , CountSleepM , TimerC , LedsC , HPLPowerManagementM ; Main.StdControl -> TimerC; Main.StdControl -> CountSleepM; CountSleepM.Timer -> TimerC.Timer[unique("Timer")]; CountSleepM.Leds -> LedsC.Leds; CountSleepM.PowerManagement -> HPLPowerManagementM; CountSleepM.Enable -> HPLPowerManagementM.Enable;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -