I used VDD channel to detected battery voltage, and the P0.5(AIN3) connect to a LED, But I found that after initialize SAADC, P0.5 cannot control output.
I used VDD channel to detected battery voltage, and the P0.5(AIN3) connect to a LED, But I found that after initialize SAADC, P0.5 cannot control output.
Sounds to me that you have enabled SAADC to sample AIN3. Then the ADC will take control of the AIN3 pin.
Kenneth
I have found the problem,rosin joint! But the the phenomenon is deceptive!