I have been learning about the various interrupts on the PIC18f45k20. I have written programs for a timer interrupt and a change on RB0.
I was looking in the datasheet of how to enable an interrupt on a change to An0 but I could not see how to enable it nor a flag to detect it.
I could find an interrupt for the A/D converter interrupt but I assume this is an interrupt that takes place when A/D conversion is complete?
Is there an interrupt for ADC change? If so can someone please point me to a simple example in C?
I was looking in the datasheet of how to enable an interrupt on a change to An0 but I could not see how to enable it nor a flag to detect it.
I could find an interrupt for the A/D converter interrupt but I assume this is an interrupt that takes place when A/D conversion is complete?
Is there an interrupt for ADC change? If so can someone please point me to a simple example in C?