T
treez
Guest
Hello,
We are using PIC16F18856. We are using the Zero crossing detector module which is on pin RB0. Our software engineer has set the ANSEL register to "analog" for the RB0 port, because he thinks that the ZCD function requires the corresponding ANSEL bit to be set.
However, the ANSEL register is not mentioned on page 319 of the datasheet. So do you think that the ANSEL bit should be cleared for pin RB0?
PIC16F18856 datasheet..
https://ww1.microchip.com/downloads/en/DeviceDoc/40001824B.pdf
We are using PIC16F18856. We are using the Zero crossing detector module which is on pin RB0. Our software engineer has set the ANSEL register to "analog" for the RB0 port, because he thinks that the ZCD function requires the corresponding ANSEL bit to be set.
However, the ANSEL register is not mentioned on page 319 of the datasheet. So do you think that the ANSEL bit should be cleared for pin RB0?
PIC16F18856 datasheet..
https://ww1.microchip.com/downloads/en/DeviceDoc/40001824B.pdf