Go Down

Topic: analog interrupt (Read 126 times) previous topic - next topic

FutureEngineer

Hi,

Does Arduino Mega support analog interrupt ?

AWOL

Can you define what you want/ mean?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Paul__B

This question is asked every so often.

An analog interrupt makes no sense, since interrupts are triggered by logic levels, either transitioning from LOW to HIGH, or HIGH to LOW or simply either of those.

If you wish to detect either of those transitions, then you use a digital pin (which may well be an "analog" pin which generally on an Arduino, is actually a digital pin with an additional analog input capability).  But no corresponding transition exists for analog values.

And in addition, most questions asked in regard to interrupts, indicate a lack of comprehension of the purpose of interrupts; the so-called "XY Problem".

So perhaps if you can explain what you really wish to do, we can help. :smiley-lol:

AWOL

Quote
An analog interrupt makes no sense, since interrupts are triggered by logic levels,
Apart from analogue comparator interrupts, end-of-conversion interrupts. . .
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Paul__B

Which are quite different things.

AWOL

But things which could be construed, by a noob, as analogue interrupts.
Particularly the former.
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Paul__B

Will we ever know?

Maybe in the morning - I'm off to bed. :smiley-roll:

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy