Magic Weel

I have a Dagu Magician Chassis with a DFRobot 1A Motor Shield For Arduino in a Cerbuino Bee and everytime I start the robot, the left weel is steering.


		const Cpu.Pin LeftMotorDirectionPin = FEZCerbuino.Pin.Digital.D7;
		const Cpu.PWMChannel LeftMotorPWMPin = FEZCerbuino.Pin.PWM.D6;

		PWM leftMotorPower;
		OutputPort leftMotorDir;

			leftMotorPower = new PWM(LeftMotorPWMPin, 1000, 0, false);
			leftMotorDir = new OutputPort(LeftMotorDirectionPin, false);

			leftMotorPower.Start();
			rightMotorPower.Start();

After I instanciate the code above, the weel stops.

Even when I deploy an empty solution with only a debug.

How can I stop this from happening?

connect it to a different pin, or use a pull-down resistor (you may have to do this if you were to move pin too).

Sorry, the default tri-state of that pin is obviously enough to enable it on the motor driver, you need to override that with a pulldown.