X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcobboard%2Fstate.h;h=8dcb6c1418b8f8a67c5aaf2e7bd96caf12b4fb7e;hp=889970be3ea29bdb77a7f7f95d3ec91c553a264a;hb=fa8546ea39c7442ad3bf5a822a72a2b50a41045d;hpb=8d6a47e9e21a9a31f4bc12d32fb3d11091a4b305 diff --git a/projects/microb2010/cobboard/state.h b/projects/microb2010/cobboard/state.h index 889970b..8dcb6c1 100644 --- a/projects/microb2010/cobboard/state.h +++ b/projects/microb2010/cobboard/state.h @@ -23,14 +23,18 @@ #define _STATE_H_ /* set a new state, return 0 on success */ -int8_t state_set_mode(struct i2c_cmd_cobboard_set_mode *cmd); +int8_t state_set_mode(uint8_t mode); /* get current state */ uint8_t state_get_mode(void); +uint8_t state_get_cob_count(void); + /* launch state machine */ void state_machine(void); void state_init(void); +extern uint8_t state_debug; + #endif