📄 testdhvc-master.nc
字号:
#include "TestDhv.h"
configuration TestDhvC {
}
implementation {
components TestDhvP;
components LedsC as LedsC;
TestDhvP.Leds -> LedsC;
components DisseminationC;
TestDhvP.StdControl -> DisseminationC;
/*
components new DisseminatorC(uint32_t, 0x1) as Dissem1;
TestDhvP.DisseminationValue1 -> Dissem1;
TestDhvP.DisseminationUpdate1 -> Dissem1;
*/
// ... DISSEMINATORS
components MainC;
TestDhvP.Boot -> MainC;
components SerialActiveMessageC;
components new SerialAMSenderC(AM_DHV_TEST_MSG);
TestDhvP.SerialSend -> SerialAMSenderC;
TestDhvP.SerialControl -> SerialActiveMessageC;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -