View Single Post
  #7   Spotlight this post!  
Unread 19-01-2012, 19:58
Patrickwhite's Avatar
Patrickwhite Patrickwhite is offline
May the North be with you
FRC #0610 (The Coyotes)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Toronto
Posts: 88
Patrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of lightPatrickwhite is a glorious beacon of light
Re: Unresponsive Code... Help Please?

That error suggests that you are trying to initialize two things to the same PWM port. If all you have left are the drive system and sweeper subsystems, I would hazard a guess that either they are both trying to access PWM channel 2, or that somehow one of them (the one that uses PWM channel 2) is being initialized twice (the sort of scenario the singleton class is meant to prevent). Look through your getInstances to make sure they can only run the constructor once, make sure your constructors are private, and make sure there aren't any accidental calls to constructors outside of the subsystem classes.
__________________
while(!going.isTough());
tough.exit();

What will we do tonight, Warfa?
The same thing we do every night, Patrick. Sit and wait for Electrical.
Reply With Quote