I need help in writing ADC in interrupt mode code. I am designing a simple fire alarm system with a LDR (as light sensor) and infrared sensor (as temperature sensor) and buzzer. I am currently using ADC (Analog to Digital) functions to compute the output of the two hardware components, and GPIO output to the buzzer. However, my system has to be integrated with other subsystems, hence I need to use ADC in interrupt mode. I need the code urgently because I have project final demo in few days' time.
I am using LPCXpresso and a LPC1769 microcontroller for my project.