[Firebug-cvs] fireboard/beta/apps/GPStest TestMTS400.nc,NONE,1.1
Brought to you by:
doolin
From: Michael N. <mne...@us...> - 2005-09-08 23:56:57
|
Update of /cvsroot/firebug/fireboard/beta/apps/GPStest In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22494 Added Files: TestMTS400.nc Log Message: Created --- NEW FILE: TestMTS400.nc --- /****************************************************************************** * Controls GPS for testing purposes. This is an isolated test of the * GPS. See discussion in TestMTS400M.nc for more info on operational * strategy. * * "Copyright (c) 2005 The Regents of the University of California. * All rights reserved. * * Permission to use, copy, modify, and distribute this software and its * documentation for any purpose, without fee, and without written agreement is * hereby granted, provided that the above copyright notice, the following * two paragraphs and the author appear in all copies of this software. * * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS." * * Author: Michael Newman * * Modification History: * 8Sep05 MJNewman: Created. *****************************************************************************/ includes sensorboardApp; #include "appFeatures.h" configuration TestMTS400 { } implementation { components Main, TestMTS400M, MicaWbSwitch, GenericComm as Comm, TimerC, Voltage, NMEAC, LedsC, #ifdef MTS420 UARTGpsPacket, #endif ADCC; Main.StdControl -> TestMTS400M; Main.StdControl -> TimerC; TestMTS400M.CommControl -> Comm; // Wiring for gps #ifdef MTS420 TestMTS400M.GpsControl -> UARTGpsPacket; TestMTS400M.GpsSend -> UARTGpsPacket.SendVar; TestMTS400M.GpsReceive -> UARTGpsPacket; TestMTS400M.GpsCmd -> UARTGpsPacket.GpsCmd; //UARTGpsPacket.GpsCmd; #endif TestMTS400M.Leds -> LedsC; TestMTS400M.Timer -> TimerC.Timer[unique("Timer")]; TestMTS400M.nmea -> NMEAC; } |