Lets you control your mbed from an easy to use GUI. Entire project is on git hub: https://github.com/navin-bhaskar/Controller For usage info follow this link http://navinbhaskar.blogspot.in/2013/02/arduino-controller-3.html
error.h@1:9d3340bcd863, 2013-02-26 (annotated)
- Committer:
- Navin
- Date:
- Tue Feb 26 03:51:46 2013 +0000
- Revision:
- 1:9d3340bcd863
- Parent:
- 0:fe5850ccdb6f
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Navin | 1:9d3340bcd863 | 1 | /* |
Navin | 1:9d3340bcd863 | 2 | * This program is free software; you can redistribute it and/or modify |
Navin | 1:9d3340bcd863 | 3 | * it under the terms of the GNU General Public License as published by |
Navin | 1:9d3340bcd863 | 4 | * the Free Software Foundation; either version 2 of the License, or |
Navin | 1:9d3340bcd863 | 5 | * (at your option) any later version. |
Navin | 1:9d3340bcd863 | 6 | * |
Navin | 1:9d3340bcd863 | 7 | * This program is distributed in the hope that it will be useful, |
Navin | 1:9d3340bcd863 | 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
Navin | 1:9d3340bcd863 | 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Navin | 1:9d3340bcd863 | 10 | * GNU General Public License for more details. |
Navin | 1:9d3340bcd863 | 11 | * |
Navin | 1:9d3340bcd863 | 12 | * You should have received a copy of the GNU General Public License |
Navin | 1:9d3340bcd863 | 13 | * along with this program; if not, write to the Free Software |
Navin | 1:9d3340bcd863 | 14 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
Navin | 1:9d3340bcd863 | 15 | * MA 02110-1301, USA. |
Navin | 1:9d3340bcd863 | 16 | * |
Navin | 1:9d3340bcd863 | 17 | */ |
Navin | 0:fe5850ccdb6f | 18 | |
Navin | 0:fe5850ccdb6f | 19 | /** |
Navin | 0:fe5850ccdb6f | 20 | * Defines all the error codes |
Navin | 0:fe5850ccdb6f | 21 | */ |
Navin | 0:fe5850ccdb6f | 22 | |
Navin | 0:fe5850ccdb6f | 23 | #ifndef ERROR_H |
Navin | 0:fe5850ccdb6f | 24 | #define ERROR_H |
Navin | 0:fe5850ccdb6f | 25 | |
Navin | 0:fe5850ccdb6f | 26 | typedef unsigned int uint; |
Navin | 0:fe5850ccdb6f | 27 | |
Navin | 0:fe5850ccdb6f | 28 | #define ERR_ERROR 0 /**< Generic error code */ |
Navin | 0:fe5850ccdb6f | 29 | #define ERR_SUCCESS 1 /**< Success code */ |
Navin | 0:fe5850ccdb6f | 30 | #define ERR_INVALID_PIN 2 /**< If there is no such physical pin */ |
Navin | 0:fe5850ccdb6f | 31 | #define ERR_INVALID_ARG 3 /**< If the passed argument was invalid */ |
Navin | 0:fe5850ccdb6f | 32 | |
Navin | 0:fe5850ccdb6f | 33 | #endif |