X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcobboard%2Fstate.h;h=141b643bb6b413b3b3c0c29e42f2ba93784a3d3c;hp=f3135ac036b7ffd345738a007fa26d0df55f8d02;hb=b28db6087ed5fdab0bda8f23417ef7098d2a9ae5;hpb=57b3e145f2ff46e1a7e7d522c85f3c56821dbf48 diff --git a/projects/microb2010/cobboard/state.h b/projects/microb2010/cobboard/state.h index f3135ac..141b643 100644 --- a/projects/microb2010/cobboard/state.h +++ b/projects/microb2010/cobboard/state.h @@ -24,13 +24,19 @@ /* set a new state, return 0 on success */ int8_t state_set_mode(uint8_t mode); +void state_set_spickle(uint8_t side, uint8_t flags); /* get current state */ uint8_t state_get_mode(void); +uint8_t state_get_status(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