View Single Post
  #3   Spotlight this post!  
Unread 11-02-2006, 13:05
steven114 steven114 is offline
Programming Wizard and Team Captain
AKA: Steven Schlansker
FRC #0114 (Eaglestrike)
Team Role: Programmer
 
Join Date: Feb 2004
Location: Los Altos, CA
Posts: 335
steven114 is a jewel in the roughsteven114 is a jewel in the roughsteven114 is a jewel in the rough
Send a message via AIM to steven114
Re: Using CCP modules

Thanks very much for pointing those out - here's what I'm reading from them. ECCP2 can change which pin it uses, depending on how you set up the register. By default it is assigned to RC1, which is PWM13 and IFI says is unusable as a Capture input. If you are in microcontroller mode, it goes to RE7 which is not available for use. If not, it is attached to RE3 which is Relay 4 Fwd. Is it possible to use that as an input, or is there circuitry on the inside preventing this? Can I simply set the appropriate pin to input and not use relay 4? Are we in "microcontroller" mode? It seems to be set by the configuration register, which is programmed by IFI, correct?

Thanks for any pointers,
Steven
__________________
Shift to the left, shift to the right!
Pop up, push down, byte, byte, byte!