git.droids-corp.org
/
aversive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
high level strat
[aversive.git]
/
projects
/
microb2010
/
cobboard
/
state.h
diff --git
a/projects/microb2010/cobboard/state.h
b/projects/microb2010/cobboard/state.h
index
889970b
..
141b643
100644
(file)
--- a/
projects/microb2010/cobboard/state.h
+++ b/
projects/microb2010/cobboard/state.h
@@
-23,14
+23,20
@@
#define _STATE_H_
/* set a new state, return 0 on success */
#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);
+void state_set_spickle(uint8_t side, uint8_t flags);
/* get current state */
uint8_t state_get_mode(void);
/* 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);
/* launch state machine */
void state_machine(void);
void state_init(void);
+extern uint8_t state_debug;
+
#endif
#endif