View Single Post
  #4   Spotlight this post!  
Unread 15-02-2016, 22:57
spacepenguine spacepenguine is offline
Registered User
AKA: Ian Hartwig
no team
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 2008
Location: Troy, MI
Posts: 43
spacepenguine is an unknown quantity at this point
Re: Help with Errors

I'm guessing you already fixed this problem with previous comments. An alternate to the PWM splitting in hardware is to map it in software. This can make life easier for your mechanical/electrical teams because they just plug each motor into a PWM slot and then you write the same value out multiple times in each software iteration:

Code:
init:
motor1 = Talon(0);
motor2 = Talon(1);

loop:
desiredMotor = 250;
motor1.Set(desiredMotor);
motor2.Set(desiredMotor);
__________________
2008-2011: #226 - The Hammerheads
Reply With Quote