i have been batting this around for a few days but we cant seem to get our program to make the victors to move the motor.
we have everything plugged up and the cables in the right way.
we use:
Code:
pwm03 = (unsigned char)127;
and the motor doesnt move which is good.
light on the victor stays solid orange which is also good.
we use:
Code:
pwm03 = (unsigned char)140;
and the motor turns one way at a fair speed;
light turns off . . . good
we use:
Code:
pwm03 = (unsigned char)110;
and the motor starts to "tick"
the light flashes rapidly(faster then when it doesn't have a signal and in sync with the "ticks")
one of our mentors thinks that for one reason or another the signal is pulsing too slowly and is causing the jitter.
i have also determined that sometimes when we change the value too largely it will also "tick"(ex from 127 to 200)
as far as i understand(i could be wrong) the victor takes the PWM and a signal between 1 and 254
i have also tried using unsigned int instead and have gotten the same exact result
i have no clue whats going on(mostly because I'm a rookie) so if anyone could provide info it would be very very helpful