6 /* error codes for dispense_motor */
7 #define MOTOR_SUCCESS 0
9 #define MOTOR_HOME_FAIL 2
10 #define MOTOR_CURRENT_FAIL 3
11 #define MOTOR_VOLTAGE_FAIL 4
13 const u8 motor_lookup[80] =
14 { 1,12,23,34,46,57,68,79,
15 11,22,33,44,56,67,78,89,
16 21,32,43,54,66,77,88,99,
27 bool is_motor(u8 slot);
28 u8 dispense_motor(u8 slot);
30 #endif /* _MOTORS_H_ */