The Easiest Way to Save and Share Code Snippets on the web

Untitled

vhdl

posted: Dec, 11th 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;
133 views