platformp.nc
来自「tinyos-2.0源代码!转载而已!要的尽管拿!」· NC 代码 · 共 19 行
NC
19 行
#include "hardware.h"module PlatformP{ provides interface Init; uses interface Init as Msp430ClockInit; uses interface Init as MoteInit; uses interface Init as LedsInit;}implementation { command error_t Init.init() { call Msp430ClockInit.init(); call MoteInit.init(); call LedsInit.init(); return SUCCESS; } default command error_t LedsInit.init() { return SUCCESS; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?