|
Re: Lowering the voltage on a spike
how about something like this...
if button is pushed (p1_sw_trig)
( pwm01 = 155; //turn slow)
if button is pushed (p1_sw_top)
( pwm01 = 110; //turn slow backward)
What would this code actually look like?
The problem is that using a spike makes writing my code alot easier. Wiring the motor through a victor, (which we have already done) is possible but not now
Last edited by Mr. E : 26-02-2007 at 18:46.
|