|
Re: For some reason our motors are "breaking" and not going forward. Why?
The easiest way to debug an issue like this is to add a printf statement into each "if" statement like this:
printf("We made it into 1");
in the next if:
printf("We made it into 2");
and so on. Then you can watch the terminal window and determine which if/thens are setting it to what values.
|