Urahara
Member
Hi Everyone
The CCP2 module of the 18F4620 MCU allows me to use either pin RC1 or RB3 for its capabilities. However, it seems that it can only be defined under the #pragma config directive in C18, which means it can either be RC1 or RB3 when powered-on.
Is there a way to switch btw the two pins in the program (I am using C18)?
I have a requirement for 2xPWM (pin RC1 and RC2) and 1xCapture (pin RB3??) functionalities, but unfortunately, the MCU has only two such modules.
Any thoughts or ideas? Thks!
The CCP2 module of the 18F4620 MCU allows me to use either pin RC1 or RB3 for its capabilities. However, it seems that it can only be defined under the #pragma config directive in C18, which means it can either be RC1 or RB3 when powered-on.
Is there a way to switch btw the two pins in the program (I am using C18)?
I have a requirement for 2xPWM (pin RC1 and RC2) and 1xCapture (pin RB3??) functionalities, but unfortunately, the MCU has only two such modules.
Any thoughts or ideas? Thks!