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
Diff: error.h
- Revision:
- 0:fe5850ccdb6f
- Child:
- 1:9d3340bcd863
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/error.h Tue Feb 26 03:45:52 2013 +0000 @@ -0,0 +1,17 @@ + + +/** + * Defines all the error codes + */ + +#ifndef ERROR_H +#define ERROR_H + +typedef unsigned int uint; + +#define ERR_ERROR 0 /**< Generic error code */ +#define ERR_SUCCESS 1 /**< Success code */ +#define ERR_INVALID_PIN 2 /**< If there is no such physical pin */ +#define ERR_INVALID_ARG 3 /**< If the passed argument was invalid */ + +#endif