00001 /************************************************************************************************/ 00002 /*! \file startall.cpp 00003 * \brief Start all devices using the relay board 00004 * \author $Author: jayhawk_hokie $ 00005 * \version $Revision: 1.1 $ 00006 * \date $Date: 2006/07/05 21:04:21 $ 00007 ************************************************************************************************/ 00008 /*! 00009 * 00010 ************************************************************************************************/ 00011 00012 #include <fstream.h> 00013 #include <iostream.h> 00014 #include <unistd.h> 00015 #include <string> 00016 #include <Base/Actuator.h> 00017 #include "instrument.h" 00018 #include <sys/io.h> 00019 00020 using namespace std; 00021 00022 int main() { 00023 00024 Relay mySetup; // implement relay class 00025 mySetup.PowerOn(255, 0); // starts all devices, intended for boot process use 00026 00027 return 0; 00028 } 00029 00030 00031 // Do not change the comments below - they will be added automatically by CVS 00032 /***************************************************************************** 00033 * $Log: startall.cpp,v $ 00034 * Revision 1.1 2006/07/05 21:04:21 jayhawk_hokie 00035 * Initial submission for power management of Whorl's. 00036 * 00037 * 00038 * 00039 ******************************************************************************/ 00040 00041