📄 synclogappc.nc
字号:
/**
* Test reading and writing to a log with lots of syncs. See README.txt for
* more details.
*
* @author Mayur Maheshwari (mayur.maheshwari@gmail.com)
* @author David Gay
*/
#include "StorageVolumes.h"
configuration SyncLogAppC { }
implementation {
components SyncLogC,
new TimerMilliC() as Timer0, new TimerMilliC() as Timer1,
new LogStorageC(VOLUME_SYNCLOG, FALSE), SerialActiveMessageC,
MainC, LedsC;
SyncLogC.Leds -> LedsC;
SyncLogC.Boot -> MainC;
SyncLogC.Timer0 -> Timer0;
SyncLogC.Timer1 -> Timer1;
SyncLogC.LogWrite -> LogStorageC;
SyncLogC.LogRead -> LogStorageC;
SyncLogC.AMSend -> SerialActiveMessageC.AMSend[139];
SyncLogC.AMControl -> SerialActiveMessageC;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -