From cf8fbdbfb994576b6f3278602c25e84795deac11 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 14 Apr 2012 20:18:16 +0200 Subject: digital: use 16bit speed --- digital/ai/src/twi_master/mimot.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'digital/ai/src/twi_master/mimot.h') diff --git a/digital/ai/src/twi_master/mimot.h b/digital/ai/src/twi_master/mimot.h index c9de7090..35b2dfbe 100644 --- a/digital/ai/src/twi_master/mimot.h +++ b/digital/ai/src/twi_master/mimot.h @@ -82,37 +82,37 @@ mimot_set_motor1_position (uint16_t position); /** Move motor0 to absolute position in steps. */ void -mimot_move_motor0_absolute (uint16_t position, uint8_t speed); +mimot_move_motor0_absolute (uint16_t position, uint16_t speed); /** Move motor1 to absolute position in steps. */ void -mimot_move_motor1_absolute (uint16_t position, uint8_t speed); +mimot_move_motor1_absolute (uint16_t position, uint16_t speed); /** Reset motor0 to zero position. */ void -mimot_motor0_zero_position (int8_t speed); +mimot_motor0_zero_position (int16_t speed); /** Reset motor1 to zero position. */ void -mimot_motor1_zero_position (int8_t speed); +mimot_motor1_zero_position (int16_t speed); /** Find zero position. */ void -mimot_motor0_find_zero (int8_t speed, uint8_t use_switch, +mimot_motor0_find_zero (int16_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, +mimot_motor1_find_zero (int16_t speed, uint8_t use_switch, uint16_t reset_position); /** Clamp motor0. */ void -mimot_motor0_clamp (int8_t speed, int16_t pwm); +mimot_motor0_clamp (int16_t speed, int16_t pwm); /** Clamp motor1. */ void -mimot_motor1_clamp (int8_t speed, int16_t pwm); +mimot_motor1_clamp (int16_t speed, int16_t pwm); /** Free motor0. */ void -- cgit v1.2.3