X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcommon%2Fi2c_commands.h;h=b5c9d36897e6ee80ae32d5209255621ef6b12818;hp=d64ed8b8093102bdec4d8c5986ef8c496fcd511b;hb=d23a4fdeed4e90d004d407942b230c188d012465;hpb=38196781643cba8e1d681aafb28cdadc51fe20ec diff --git a/projects/microb2010/common/i2c_commands.h b/projects/microb2010/common/i2c_commands.h index d64ed8b..b5c9d36 100644 --- a/projects/microb2010/common/i2c_commands.h +++ b/projects/microb2010/common/i2c_commands.h @@ -32,6 +32,7 @@ #define I2C_RIGHT_SIDE 1 #define I2C_AUTO_SIDE 2 #define I2C_CENTER_SIDE 3 +#define I2C_NO_SIDE 4 #define I2C_COLOR_YELLOW 0 #define I2C_COLOR_BLUE 1 @@ -109,6 +110,7 @@ struct i2c_req_cobboard_status { #define I2C_COBBOARD_SPK_DEPLOY 0x01 /* deploy the spickle */ #define I2C_COBBOARD_SPK_AUTOHARVEST 0x02 /* auto harvest the cobs */ #define I2C_COBBOARD_SPK_NO_MOVE 0x04 /* if enabled, don't change state */ +#define I2C_COBBOARD_SPK_WEAK 0x08 /* if enabled, current limit */ uint8_t lspickle; uint8_t rspickle; };