Laser cutter software

Dependencies:   EthernetNetIf mbed SDFileSystem

Committer:
pbrier
Date:
Thu Aug 11 09:33:15 2011 +0000
Revision:
0:18ead85c200b
Laos server

Who changed what in which revision?

UserRevisionLine numberNew contents of line
pbrier 0:18ead85c200b 1 /**
pbrier 0:18ead85c200b 2 * LaosIO.cpp
pbrier 0:18ead85c200b 3 * input / output system
pbrier 0:18ead85c200b 4 *
pbrier 0:18ead85c200b 5 * Copyright (c) 2011 Peter Brier
pbrier 0:18ead85c200b 6 *
pbrier 0:18ead85c200b 7 * This file is part of the LaOS project (see: http://wiki.protospace.nl/index.php/LaOS)
pbrier 0:18ead85c200b 8 *
pbrier 0:18ead85c200b 9 * LaOS is free software: you can redistribute it and/or modify
pbrier 0:18ead85c200b 10 * it under the terms of the GNU General Public License as published by
pbrier 0:18ead85c200b 11 * the Free Software Foundation, either version 3 of the License, or
pbrier 0:18ead85c200b 12 * (at your option) any later version.
pbrier 0:18ead85c200b 13 *
pbrier 0:18ead85c200b 14 * LaOS is distributed in the hope that it will be useful,
pbrier 0:18ead85c200b 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
pbrier 0:18ead85c200b 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
pbrier 0:18ead85c200b 17 * GNU General Public License for more details.
pbrier 0:18ead85c200b 18 *
pbrier 0:18ead85c200b 19 * You should have received a copy of the GNU General Public License
pbrier 0:18ead85c200b 20 * along with LaOS. If not, see <http://www.gnu.org/licenses/>.
pbrier 0:18ead85c200b 21 *
pbrier 0:18ead85c200b 22 * set and get inputs/outputs for the peripherals
pbrier 0:18ead85c200b 23 *
pbrier 0:18ead85c200b 24 @code
pbrier 0:18ead85c200b 25 --code--
pbrier 0:18ead85c200b 26 @endcode
pbrier 0:18ead85c200b 27 */
pbrier 0:18ead85c200b 28
pbrier 0:18ead85c200b 29 #include "LaosIO.h"
pbrier 0:18ead85c200b 30
pbrier 0:18ead85c200b 31 LaosIO::LaosIO()
pbrier 0:18ead85c200b 32 {
pbrier 0:18ead85c200b 33 state = 0;
pbrier 0:18ead85c200b 34 }
pbrier 0:18ead85c200b 35
pbrier 0:18ead85c200b 36 LaosIO::~LaosIO()
pbrier 0:18ead85c200b 37 {
pbrier 0:18ead85c200b 38 }
pbrier 0:18ead85c200b 39
pbrier 0:18ead85c200b 40
pbrier 0:18ead85c200b 41 void LaosIO::set(int line, bool state)
pbrier 0:18ead85c200b 42 {
pbrier 0:18ead85c200b 43 }
pbrier 0:18ead85c200b 44
pbrier 0:18ead85c200b 45 bool LaosIO::get(int line)
pbrier 0:18ead85c200b 46 {
pbrier 0:18ead85c200b 47 return false;
pbrier 0:18ead85c200b 48 }
pbrier 0:18ead85c200b 49
pbrier 0:18ead85c200b 50