Saleae Logic 8 now goes for $499 on Microchip Direct, but it can handle BOTH digital and analog inputs. :O
https://www.microchipdirect.com/dev-tools/TSAL0003
Because if the WDTE bits in CONFIG3 is anything but 0b01 the SEN bit is ignored and the CONFIG block of the code contains _WDT_ON which, according to the .INFO file for the device means
Re: How do you chose ADCIN channel in this case
Note to the next guy:
Demon Today, 05:29You don't need the register if there's only the ADC channel inside it (I keep the list only as documentation for the channel numbers).
'ADPCH = %00000000 ...