uarttestappc.nc

来自「自己在学习nesC时的源码」· NC 代码 · 共 23 行

NC
23
字号
/**
UartTestAppC.nc
**/
configuration UartTestAppC
{
	
}
implementation
{
	components Main,LedsC,UartTestM,GenericComm as Comm,TimerC;
	
	Main.StdControl->UartTestM;
	Main.StdControl->TimerC;
	
	UartTestM.Timer->TimerC.Timer[unique("Timer")];
	UartTestM.CommControl->Comm;
	UartTestM.Send->Comm.SendMsg[0];
	UartTestM.Receive->Comm.ReceiveMsg[0];
	UartTestM.Leds->LedsC;
}

 
 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?