⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fakelocation.nc

📁 无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上.
💻 NC
字号:
// $Id: FakeLocation.nc,v 1.2 2003/10/07 21:45:24 idgay Exp $/* Copyright (c) 2002 Intel Corporation * All rights reserved. * * This file is distributed under the terms in the attached INTEL-LICENSE      * file. If you do not find these files, copies can be found by writing to * Intel Research Berkeley, 2150 Shattuck Avenue, Suite 1300, Berkeley, CA,  * 94704. Attention: Intel License Inquiry.   *  * Author: Matt Welsh <mdw@eecs.harvard.edu> *//** * Provides a "fake" location value to motes based on reading three * ADC values for X, Y, and Z coordinates. The TinyViz LocationPlugin * sets these values to represent the location of the mote in the display. * @author Matt Welsh <mdw@eecs.harvard.edu> */includes FakeLocation;configuration FakeLocation {  provides interface Location;} implementation {  components Main, FakeLocationM, ADCC;  Location = FakeLocationM;  Main.StdControl -> FakeLocationM;  FakeLocationM.ADC_X -> ADCC.ADC[FAKE_LOCATION_X_PORT];  FakeLocationM.ADC_Y -> ADCC.ADC[FAKE_LOCATION_Y_PORT];  FakeLocationM.ADC_Z -> ADCC.ADC[FAKE_LOCATION_Z_PORT];}

⌨️ 快捷键说明

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