Pixy2 reply status codes. More...
Macros | |
#define | PIXY2_OK 0 |
#define | PIXY2_ERROR -1 |
#define | PIXY2_BUSY -2 |
#define | PIXY2_CHECKSUM_ERROR -3 |
#define | PIXY2_TIMEOUT -4 |
#define | PIXY2_BUTTON_OVERRIDE -5 |
#define | PIXY2_PROG_CHANGING -6 |
Pixy2 reply status codes.
Pixy2 reply error codes as documented in 1, "Error codes".
#define PIXY2_BUSY -2 |
Pixy2 has no more data
#define PIXY2_BUTTON_OVERRIDE -5 |
user is interacting with the button and can't perform requested action
#define PIXY2_CHECKSUM_ERROR -3 |
data packet received contains a checksum error
#define PIXY2_ERROR -1 |
general error result
#define PIXY2_OK 0 |
command executed successfully
#define PIXY2_PROG_CHANGING -6 |
TODO: meaning not shown in pixy2 documentation?
#define PIXY2_TIMEOUT -4 |
Pixy2 has taken too long to return its result