View Single Post
  #2   Spotlight this post!  
Unread 16-02-2013, 08:46
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: AnalogChannel Already Allocated???

In your posted code it's initializing to analog 2, but I assume that's either a typo or you put it in place for a test. If it says that analog 1 is already allocated, you must have another AnalogChannel in your code using that same port. It doesn't seem to be in your posted code, so you'll have to go through the rest of your code to check. Keep in mind that certain other things, like Gyros, also use AnalogChannels internally.
__________________
I code stuff.
Reply With Quote