Untitled
vhdl
posted: Dec, 12th 2011 | jump to bottom
if (leftMotorCounter <= fiftyDutyCycle) begin leftMotor = 1; end else leftMotor = 0; end //Right turn if(rightMotorCounter <= fiftyDutyCycle)begin rightMotor = 1; end else begin rightMotor = 0; end if (leftMotorCounter <= ninetyDutyCycle) begin leftMotor = 1; end else leftMotor = 0;
97 views




