summaryrefslogtreecommitdiff
path: root/digital/ai/src/twi_master/mimot.h
diff options
context:
space:
mode:
authorNicolas Schodet2011-05-31 09:39:16 +0200
committerNicolas Schodet2011-05-31 15:17:36 +0200
commit31f85163b5981a78a2b6704168d0ae12929b53be (patch)
treee971e092f63fbe975fe9ffa4b60ffbfc028ca92e /digital/ai/src/twi_master/mimot.h
parent2aff3a82387b86b390348adb63cde3fe92b041db (diff)
digital/mimot: better find zero/limit
Diffstat (limited to 'digital/ai/src/twi_master/mimot.h')
-rw-r--r--digital/ai/src/twi_master/mimot.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/digital/ai/src/twi_master/mimot.h b/digital/ai/src/twi_master/mimot.h
index 97575b0d..c59c1608 100644
--- a/digital/ai/src/twi_master/mimot.h
+++ b/digital/ai/src/twi_master/mimot.h
@@ -92,6 +92,16 @@ mimot_motor0_zero_position (int8_t speed);
void
mimot_motor1_zero_position (int8_t speed);
+/** Find zero position. */
+void
+mimot_motor0_find_zero (int8_t speed, uint8_t use_switch,
+ uint16_t reset_position);
+
+/** Find zero position. */
+void
+mimot_motor1_find_zero (int8_t speed, uint8_t use_switch,
+ uint16_t reset_position);
+
/** Clamp motor0. */
void
mimot_motor0_clamp (int8_t speed, int16_t pwm);