![]() |
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 |
Re: RobotOpen Spike problems
Can you post all of your code and i can try and debug it for you ?
|
Re: RobotOpen Spike problems
I think the problem is the analog write data, please review the documentation.
I think the values are... 255 == full forward 127 == off no output 1 == full reverse I don't think you ever tell it to go reverse, only stop and forward. |
| All times are GMT -5. The time now is 02:14. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi