how do you go about using an ADC as an interrupt. thanks for your help i am new to this.
I want to use a Case of and ADC range to start the interrupt.
ADC in interrupt
Moderators: David Barker, Jerry Messina
- madinventions
- Posts: 11
- Joined: Tue Jan 06, 2009 9:13 pm
- Location: Suffolk, England
I'm not sure how it would be possible to cause an interrupt on a specific ADC value. However, if you want to trigger an interrupt at a specific analogue voltage level then some PICs have a built in comparator that would do the job. Failing that, an external window comparator with the output fed into an interrupt pin would do the job. How accurate do you need the trigger voltage to be?
Ed.
Ed.