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
work on trajectory, update cobboard and ballboard too
[aversive.git]
/
projects
/
microb2010
/
cobboard
/
shovel.h
diff --git
a/projects/microb2010/cobboard/shovel.h
b/projects/microb2010/cobboard/shovel.h
index
7ba8445
..
241b065
100644
(file)
--- a/
projects/microb2010/cobboard/shovel.h
+++ b/
projects/microb2010/cobboard/shovel.h
@@
-23,7
+23,7
@@
#define _SHOVEL_H_
#define SHOVEL_DOWN 100
#define _SHOVEL_H_
#define SHOVEL_DOWN 100
-#define SHOVEL_MID
60
00
+#define SHOVEL_MID
49
00
#define SHOVEL_UP 10000
void shovel_init(void);
#define SHOVEL_UP 10000
void shovel_init(void);
@@
-43,4
+43,7
@@
static inline void shovel_up(void)
cs_set_consign(&cobboard.shovel.cs, SHOVEL_UP);
}
cs_set_consign(&cobboard.shovel.cs, SHOVEL_UP);
}
+uint8_t shovel_is_up(void);
+uint8_t shovel_is_down(void);
+
#endif /* _SHOVEL_H_ */
#endif /* _SHOVEL_H_ */