Thread: General Q's
View Single Post
  #2   Spotlight this post!  
Unread 22-02-2005, 20:05
Goobergunch Goobergunch is offline
Registered User
FRC #1168 (Malvern Robotics)
Team Role: Alumni
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Paoli, PA
Posts: 246
Goobergunch is a name known to allGoobergunch is a name known to allGoobergunch is a name known to allGoobergunch is a name known to allGoobergunch is a name known to allGoobergunch is a name known to all
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.)