📄 platformp.nc
字号:
#include "hardware.h"
module PlatformP{
provides interface Init;
uses interface Init as MoteClockInit;
uses interface Init as MoteInit;
uses interface Init as LedsInit;
}
implementation {
command error_t Init.init() {
call MoteClockInit.init();
call MoteInit.init();
call LedsInit.init();
return SUCCESS;
}
default command error_t LedsInit.init() { return SUCCESS; }
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -