View Single Post
  #1   Spotlight this post!  
Unread 17-01-2013, 14:58
augusto.sk augusto.sk is offline
Registered User
FRC #0383
 
Join Date: Jan 2013
Location: Brazil
Posts: 1
augusto.sk is an unknown quantity at this point
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