Is there an alternate to enable GPIO pin? I am using the function below. I am getting some on and off signals (which mainly results from noise in my sensor).I am using some of the P3 pins for PWM generation, I was wondering if that interferes with the signal I get from these pins.
void OnBattery(){
P3OUT |= BIT0; //set 3.0 to high - enable battery GD
P2OUT |= BIT6; //set 2.6 to high
}
Thank you