X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcommon%2Fi2c_commands.h;h=fa17fcad97cba160a7c4a4e3a821659d11e5eced;hp=7b04977db4cc34837280e753350b4d8a9236e881;hb=9d056416278ae5d772a0fc1f7d2d11a4461fb673;hpb=d10eb76208e401ae2c4dc44de2f96cdcf2e7e4ac diff --git a/projects/microb2010/common/i2c_commands.h b/projects/microb2010/common/i2c_commands.h index 7b04977..fa17fca 100644 --- a/projects/microb2010/common/i2c_commands.h +++ b/projects/microb2010/common/i2c_commands.h @@ -40,6 +40,7 @@ #define I2C_COB_WHITE 1 #define I2C_COB_UNKNOWN 2 #define I2C_COB_REMOVED 3 +#define I2C_COB_NONE 4 struct i2c_cmd_hdr { uint8_t cmd; @@ -151,6 +152,10 @@ struct i2c_ans_ballboard_status { uint8_t status; uint8_t ball_count; + + /* detection of cobs */ + uint8_t lcob; + uint8_t rcob; }; #endif /* _I2C_PROTOCOL_H_ */