View Single Post
  #1   Spotlight this post!  
Unread 26-02-2007, 17:54
Mr. E Mr. E is offline
Its physics or stamp collecting
FRC #1883
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Las Vegas
Posts: 38
Mr. E is an unknown quantity at this point
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.