break;
default: /* < 8 */
motor_shift_send(1 << col); /* cols from 0..7 */
+ bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_COL_DISABLE);
}
motor_shift_send(1 << (row-1)); /* rows from 1..8 here */
bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_CLOCK);
bclr_changer_output(A3000_MOTOR_ROW_DISABLE);
- bclr((void*)&_io_ports[M6811_PORTA], PORTA_MOTOR_COL_DISABLE);
}
void motors_off() {
//if (!is_motor(slot)) return MOTOR_NOSLOT;
motor_on(slot);
- delay(1000);
- motors_off();
- return MOTOR_SUCCESS;
+ delay(100);
if (!left_home(slot)) {
motors_off();