20 lines
462 B
C
20 lines
462 B
C
/*
|
|
* økoyono MiniLEDCube
|
|
*
|
|
* By Kai Lauterbach (klaute at web dot de) 12/2011
|
|
*
|
|
* Based on http://mosfetkiller.de/?s=miniledcube
|
|
*
|
|
* License: General Public License (GPL v3)
|
|
*
|
|
*/
|
|
|
|
#define NOT_CONNECTED_ERROR -1
|
|
#define DEVICE_NOT_FOUND_ERROR -2
|
|
|
|
#define SUCCESSFULLY_CONNECTED 1
|
|
|
|
#define PARAMETER_FRAME_OUT_OF_RANGE -10
|
|
#define PARAMETER_DELAY_OUT_OF_RANGE -20
|
|
#define PARAMETER_INDEX_OUT_OF_RANGE -30
|
|
#define PARAMETER_MODE_OUT_OF_RANGE -40
|