X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcommon%2Fi2c_commands.h;fp=projects%2Fmicrob2010%2Fcommon%2Fi2c_commands.h;h=5e4a449053ebba2df31833e32d5e8c15939fd004;hp=b5c9d36897e6ee80ae32d5209255621ef6b12818;hb=d9b4e922ce1253224adb937d65c8c2e7cd5cfe87;hpb=8933c04126fa2885cdcc255271632bd4a5a51afe diff --git a/projects/microb2010/common/i2c_commands.h b/projects/microb2010/common/i2c_commands.h index b5c9d36..5e4a449 100644 --- a/projects/microb2010/common/i2c_commands.h +++ b/projects/microb2010/common/i2c_commands.h @@ -1,6 +1,6 @@ /* - * Copyright Droids Corporation (2007) - * + * Copyright Droids Corporation (2010) + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -78,6 +78,7 @@ struct i2c_cmd_cobboard_set_mode { #define I2C_COBBOARD_MODE_HARVEST 0x01 /* harvest mode */ #define I2C_COBBOARD_MODE_EJECT 0x02 /* eject cobs */ #define I2C_COBBOARD_MODE_INIT 0x03 /* init state machine */ +#define I2C_COBBOARD_MODE_KICKSTAND 0x04 /* help to climb the hill */ uint8_t mode; }; @@ -128,6 +129,7 @@ struct i2c_ans_cobboard_status { #define I2C_COBBOARD_STATUS_LBUSY 0x02 #define I2C_COBBOARD_STATUS_RBUSY 0x03 #define I2C_COBBOARD_STATUS_EJECT 0x04 +#define I2C_COBBOARD_STATUS_KICKSTAND 0x05 uint8_t status; uint8_t cob_count;