📄 islappc.nc
字号:
/**
* 本程序用于测试ISL29001光照传感器接口组件和I2C驱动
* @author Lizm & Majy & Dupl
* @date 2008/09/27
*/
#include "ISL29001.h"
configuration ISLAppC
{
}
implementation
{
components MainC, ISLC, LedsC;
components new TimerMilliC() as Timer;
components ISL29001ReaderC;
ISLC -> MainC.Boot;
components SerialActiveMessageC as AM;
ISLC.SerialControl -> AM;
ISLC.Packet -> AM;
ISLC.AMSend -> AM.AMSend[AM_ISL_TESTING];
ISLC.ISLReader -> ISL29001ReaderC.ISL29001Reader;
ISLC.Timer -> Timer;
ISLC.Leds -> LedsC;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -