|
RobotOpen Spike problems
Hello, my name is Augusto and im a programming student from the team 383,
Im using an Arduino with Robot Open shield and im trying to control a spike. I turn it foward and stop, but i can`t turn backwards
if (estadoBtnA == true)
{
roleteOn = 1;
roleteOff = 0;
}
if (estadoBtnB == true)
{
roleteOn = 0;
roleteOff = 1;
}
if (roleteOn == 1)
{
analogWrite(SIDECAR_DIGITAL1, 255);
}
if (roleteOff == 1)
{
analogWrite(SIDECAR_DIGITAL1, 127);
}
Best regards!
Augusto
|