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@0:fe5850ccdb6f, 2013-02-26 (annotated)
- Committer:
- Navin
- Date:
- Tue Feb 26 03:45:52 2013 +0000
- Revision:
- 0:fe5850ccdb6f
- Child:
- 1:9d3340bcd863
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Navin | 0:fe5850ccdb6f | 1 | |
Navin | 0:fe5850ccdb6f | 2 | |
Navin | 0:fe5850ccdb6f | 3 | /** |
Navin | 0:fe5850ccdb6f | 4 | * Defines all the error codes |
Navin | 0:fe5850ccdb6f | 5 | */ |
Navin | 0:fe5850ccdb6f | 6 | |
Navin | 0:fe5850ccdb6f | 7 | #ifndef ERROR_H |
Navin | 0:fe5850ccdb6f | 8 | #define ERROR_H |
Navin | 0:fe5850ccdb6f | 9 | |
Navin | 0:fe5850ccdb6f | 10 | typedef unsigned int uint; |
Navin | 0:fe5850ccdb6f | 11 | |
Navin | 0:fe5850ccdb6f | 12 | #define ERR_ERROR 0 /**< Generic error code */ |
Navin | 0:fe5850ccdb6f | 13 | #define ERR_SUCCESS 1 /**< Success code */ |
Navin | 0:fe5850ccdb6f | 14 | #define ERR_INVALID_PIN 2 /**< If there is no such physical pin */ |
Navin | 0:fe5850ccdb6f | 15 | #define ERR_INVALID_ARG 3 /**< If the passed argument was invalid */ |
Navin | 0:fe5850ccdb6f | 16 | |
Navin | 0:fe5850ccdb6f | 17 | #endif |