Analog Input compatabilty

17 views
Skip to first unread message

eshansingh1

unread,
Jul 7, 2014, 10:50:47 AM7/7/14
to arduino-pincha...@googlegroups.com
Does anyone know whether analog pins are supported? I.E I have a busy code, and I just want to know right away if any POT changes occur. That's it. If the POT changes, tell me. I'll handle it. Any help?

Michael Schwager

unread,
Jul 7, 2014, 12:10:02 PM7/7/14
to arduino-pincha...@googlegroups.com
No, the Pin Change Interrupts are for digital events only: 0 to 5v or 5v to 0. There are no analog change interrupts that I know of. You'll have to query the pot endlessly, in a loop.


On Mon, Jul 7, 2014 at 9:50 AM, eshansingh1 <eshan...@gmail.com> wrote:
Does anyone know whether analog pins are supported? I.E I have a busy code, and I just want to know right away if any POT changes occur. That's it. If the POT changes, tell me. I'll handle it. Any help?

--
You received this message because you are subscribed to the Google Groups "arduino-pinchangeint-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to arduino-pinchangeint...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-Mike Schwager
Reply all
Reply to author
Forward
0 new messages