countsleepc.nc

来自「无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上」· NC 代码 · 共 31 行

NC
31
字号
// $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 + =
减小字号Ctrl + -
显示快捷键?