GreyGnome / EnableInterrupt

New Arduino interrupt library, designed for Arduino Uno/Mega 2560/Leonardo/Due
329 stars 73 forks source link

Call ISR when analog detects value greater than a threshold ? #42

Closed vittorioexp closed 7 years ago

vittorioexp commented 7 years ago

Hi, is it possible that the isr is called when A0 detects a value higher than a prefixed value? For example when A0 detects a value greater than 100. Thank you

GreyGnome commented 7 years ago

This is not possible, as the ATmega's Interrupt system is based entirely on digital interrupts, and the analog system is not involved at all.