This is the firmware for the LaOS - Laser Open Source project. You can use it to drive a laser cutter. For hardware and more information, look at our wiki: http://wiki.laoslaser.org
Dependencies: EthernetNetIf mbed
LaosIO.cpp
00001 /** 00002 * LaosIO.cpp 00003 * input / output system 00004 * 00005 * Copyright (c) 2011 Peter Brier 00006 * 00007 * This file is part of the LaOS project (see: http://wiki.protospace.nl/index.php/LaOS) 00008 * 00009 * LaOS is free software: you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation, either version 3 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * LaOS is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with LaOS. If not, see <http://www.gnu.org/licenses/>. 00021 * 00022 * set and get inputs/outputs for the peripherals 00023 * 00024 @code 00025 --code-- 00026 @endcode 00027 */ 00028 00029 #include "LaosIO.h" 00030 00031 LaosIO::LaosIO() 00032 { 00033 state = 0; 00034 } 00035 00036 LaosIO::~LaosIO() 00037 { 00038 } 00039 00040 00041 void LaosIO::set(int line, bool state) 00042 { 00043 } 00044 00045 bool LaosIO::get(int line) 00046 { 00047 return false; 00048 } 00049 00050
Generated on Tue Jul 12 2022 21:03:03 by 1.7.2