|
Re: General Q's
Since a digital output will either return 1 or 0, I don't think it's a good idea to hook it up to a Victor - that'll send the Victor in question into full reverse. If the motor is small enough that you can hook it to a Spike, then your plan might work a bit better.
Also, wouldn't you want to hook the PWM in question to a relay output rather than a digital I/O? That's what it seems that you're doing in the code.
(Disclaimer, worn-out programmer who doesn't necessarily know what he's talking about.)
|