📄 appfeatures.h
字号:
/*
* Copyright (c) 2004-2007 Crossbow Technology, Inc.
* All rights reserved.
* See license.txt file included with the distribution.
*
* $Id: appFeatures.h,v 1.2.4.1 2007/04/26 20:09:18 njain Exp $
*/
/**
* Compile-time flags for defining application specific feature preferences.
*
* @file appFeatures.h
* @author Martin Turon
*
* @version 2004/8/8 mturon Initial version
*
*/
/// FEATURE_LEDS -- powers up the LEDs for debugging purposes
#ifndef FEATURE_LEDS
#define FEATURE_LEDS 0
#endif
/// FEATURE_UART_SEND -- enable serial port debugging of a node
#ifndef FEATURE_UART_SEND
#define FEATURE_UART_SEND 0
#endif
/// FEATURE_SOUNDER -- enable test of speaker output
#ifndef FEATURE_SOUNDER
#define FEATURE_SOUNDER 0
#endif
#define SENSOR_BOARD_ID 0x90 //MDA320 sensor board id
/**
* Define wiring macros for various application features.
*/
/** FEATURE_LEDS will enable debugging Leds when set to 1. */
#if FEATURE_LEDS
#define LEDS_COMPONENT LedsC,
#define LEDS_WIRING(X) X.Leds -> LedsC;
#else
#define LEDS_COMPONENT NoLeds,
#define LEDS_WIRING(X) X.Leds -> NoLeds;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -